From: Fredrik Fornwall Date: Thu, 21 Sep 2017 22:44:52 +0000 (+0200) Subject: tsocks: Blacklist arm and i686 arches X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/commitdiff_plain/78f157dc6c434fded78a7daff9da04e5fa4d6194 tsocks: Blacklist arm and i686 arches Hitting compile errors on arm and i686: tsocks.c:226:36: error: use of undeclared identifier '__len'; did you mean 'mblen'? return(realconnect(__fd, __addr, __len)); --- diff --git a/packages/tsocks/build.sh b/packages/tsocks/build.sh index 89597de2..6d218d33 100644 --- a/packages/tsocks/build.sh +++ b/packages/tsocks/build.sh @@ -6,6 +6,7 @@ TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/tsocks/tsocks/1.8%20 TERMUX_PKG_SHA256=849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347 TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --with-conf=$TERMUX_PREFIX/etc/tsocks.conf" +TERMUX_PKG_BLACKLISTED_ARCHES="i686,arm" termux_step_pre_configure() { cp $TERMUX_PKG_SRCDIR/tsocks.conf.complex.example $TERMUX_PREFIX/etc/tsocks.conf