tsocks: Blacklist arm and i686 arches
authorFredrik Fornwall <fredrik@fornwall.net>
Thu, 21 Sep 2017 22:44:52 +0000 (00:44 +0200)
committerFredrik Fornwall <fredrik@fornwall.net>
Thu, 21 Sep 2017 22:45:33 +0000 (00:45 +0200)
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));

packages/tsocks/build.sh

index 89597de..6d218d3 100644 (file)
@@ -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