diff --git a/packages/dns2tcp/build.sh b/packages/dns2tcp/build.sh index e8b936faf8dc65d..f5516f5eac9f727 100644 --- a/packages/dns2tcp/build.sh +++ b/packages/dns2tcp/build.sh @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="dns2tcp is a tool for relaying TCP connections over DNS" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="Marlin Sööse " TERMUX_PKG_VERSION=0.5.2 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/alex-sector/dns2tcp/archive/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=4f6e0ed0f5a1aa079a4d377c6d2b16da8ddcffae7d1ddad1280c3e209ada410c TERMUX_PKG_BUILD_IN_SRC="true" diff --git a/packages/dns2tcp/duplicate_symbol.patch b/packages/dns2tcp/duplicate_symbol.patch new file mode 100644 index 000000000000000..de8a9e38443a51b --- /dev/null +++ b/packages/dns2tcp/duplicate_symbol.patch @@ -0,0 +1,11 @@ +--- ./common/includes/debug.h.orig 2021-08-19 17:33:25.204243470 +0200 ++++ ./common/includes/debug.h 2021-08-19 17:33:31.160911682 +0200 +@@ -24,7 +24,7 @@ + #include + #include + +-int debug; ++int debug __attribute__((common)); + + #ifndef _WIN32 + #define DPRINTF(level, fmt, args...) \