Browse Source

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));
android-5
Fredrik Fornwall 7 years ago
parent
commit
78f157dc6c
  1. 1
      packages/tsocks/build.sh

1
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

Loading…
Cancel
Save