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));
This commit is contained in:
Fredrik Fornwall 2017-09-22 00:44:52 +02:00
parent ae9824ce65
commit 4baecf33a4

View 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