From cbd8976c80b9a4b7415ca7c0c735d87012e4d48e Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sat, 22 Sep 2018 01:05:16 +0200 Subject: [PATCH] Use ac_cv_c_bigendian=no for all packages Tesseract also needs it now, but enough is enough, so just add it to all autoconf-using packages by default. --- build-package.sh | 1 + packages/aria2/build.sh | 1 - packages/libcln/build.sh | 1 - packages/libxapian/build.sh | 1 - packages/nzbget/build.sh | 1 - packages/par2/build.sh | 1 - packages/squid/build.sh | 1 - packages/texlive-bin/build.sh | 1 - 8 files changed, 1 insertion(+), 7 deletions(-) diff --git a/build-package.sh b/build-package.sh index 9ff3a3eff..0d50b99b0 100755 --- a/build-package.sh +++ b/build-package.sh @@ -633,6 +633,7 @@ termux_step_setup_toolchain() { export ac_cv_func_getpwnam=no export ac_cv_func_getpwuid=no export ac_cv_func_sigsetmask=no + export ac_cv_c_bigendian=no if [ ! -d $TERMUX_STANDALONE_TOOLCHAIN ]; then # Do not put toolchain in place until we are done with setup, to avoid having a half setup diff --git a/packages/aria2/build.sh b/packages/aria2/build.sh index 2bb89e367..5dab2dd64 100644 --- a/packages/aria2/build.sh +++ b/packages/aria2/build.sh @@ -18,5 +18,4 @@ ac_cv_func_gettimeofday=yes ac_cv_func_sleep=yes ac_cv_func_usleep=yes ac_cv_search_getaddrinfo=no -ac_cv_c_bigendian=no " diff --git a/packages/libcln/build.sh b/packages/libcln/build.sh index 454dc971c..72c77f980 100644 --- a/packages/libcln/build.sh +++ b/packages/libcln/build.sh @@ -4,7 +4,6 @@ TERMUX_PKG_VERSION=1.3.4 TERMUX_PKG_REVISION=3 TERMUX_PKG_SRCURL=https://fossies.org/linux/privat/cln-$TERMUX_PKG_VERSION.tar.xz TERMUX_PKG_SHA256=c32e59b6afbcf8b84075ab454c42982429c6ea9675aee2bbda176cb85293e38f -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_c_bigendian=no --with-gnu-ld=no" TERMUX_PKG_DEPENDS="libgmp" TERMUX_PKG_BUILD_IN_SRC=yes diff --git a/packages/libxapian/build.sh b/packages/libxapian/build.sh index ef01cb274..edbf71809 100644 --- a/packages/libxapian/build.sh +++ b/packages/libxapian/build.sh @@ -4,7 +4,6 @@ TERMUX_PKG_VERSION=1.4.7 TERMUX_PKG_REVISION=1 TERMUX_PKG_SHA256=13f08a0b649c7afa804fa0e85678d693fd6069dd394c9b9e7d41973d74a3b5d3 TERMUX_PKG_SRCURL=http://oligarchy.co.uk/xapian/${TERMUX_PKG_VERSION}/xapian-core-${TERMUX_PKG_VERSION}.tar.xz -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_c_bigendian=no" # Note that we cannot /proc/sys/kernel/random/uuid (permission denied on # new android versions) so need libuuid. TERMUX_PKG_DEPENDS="libuuid" diff --git a/packages/nzbget/build.sh b/packages/nzbget/build.sh index d03da577f..9aa9d5a9e 100644 --- a/packages/nzbget/build.sh +++ b/packages/nzbget/build.sh @@ -6,7 +6,6 @@ TERMUX_PKG_SRCURL=https://github.com/nzbget/nzbget/releases/download/v${TERMUX_P TERMUX_PKG_SHA256=04dc36d432549c33d55145ecd95cc4309b3ab4a7731a1a03d954de389eacd06f TERMUX_PKG_DEPENDS="libxml2, ncurses, openssl, unrar, p7zip" TERMUX_PKG_BUILD_IN_SRC=yes -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_c_bigendian=no" termux_step_create_debscripts () { echo "#!$TERMUX_PREFIX/bin/sh" > postinst diff --git a/packages/par2/build.sh b/packages/par2/build.sh index 6451ee6b4..2dc9117b2 100644 --- a/packages/par2/build.sh +++ b/packages/par2/build.sh @@ -5,7 +5,6 @@ TERMUX_PKG_SHA256=461b45627a0d800061657b2d800c432c7d1c86c859b40a3ced35a0cc6a85fa TERMUX_PKG_MAINTAINER="Oliver Schmidhauser @Neo-Oli" TERMUX_PKG_SRCURL=https://github.com/Parchive/par2cmdline/archive/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_BUILD_IN_SRC=yes -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_c_bigendian=no" termux_step_pre_configure() { if [ $TERMUX_ARCH = "i686" ]; then diff --git a/packages/squid/build.sh b/packages/squid/build.sh index 05359e478..28173112d 100644 --- a/packages/squid/build.sh +++ b/packages/squid/build.sh @@ -8,7 +8,6 @@ TERMUX_PKG_SRCURL=http://www.squid-cache.org/Versions/v4/squid-$TERMUX_PKG_VERSI TERMUX_PKG_DEPENDS="libcrypt, openssl, libnettle, libltdl" # disk-io requires msgctl and store-io requires disk-io TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -ac_cv_c_bigendian=no ac_cv_lib_sasl2_sasl_errstring=no ac_cv_dbopen_libdb=no squid_cv_gnu_atomics=yes diff --git a/packages/texlive-bin/build.sh b/packages/texlive-bin/build.sh index 082db35cb..30a67edd7 100644 --- a/packages/texlive-bin/build.sh +++ b/packages/texlive-bin/build.sh @@ -21,7 +21,6 @@ AR=ar \ RANLIB=ranlib \ BUILDAR=ar \ BUILDRANLIB=ranlib \ -ac_cv_c_bigendian=no \ --prefix=$TL_ROOT \ --bindir=$TL_BINDIR \ --datarootdir=$TL_ROOT \