diff --git a/ndk_patches/sys-wait.h.patch b/ndk_patches/sys-wait.h.patch index b91a233e3..e7418c990 100644 --- a/ndk_patches/sys-wait.h.patch +++ b/ndk_patches/sys-wait.h.patch @@ -6,7 +6,7 @@ diff -u -r /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/incl extern pid_t waitpid(pid_t, int *, int); extern pid_t wait4(pid_t, int *, int, struct rusage *); +/* Termux addition: Add wait3() declaration used by busybox. Available in libc for 32-bit only. */ -+static pid_t wait3(int* status, int options, struct rusage* rusage) { wait4(-1, status, options, rusage); } ++static pid_t wait3(int* status, int options, struct rusage* rusage) { return wait4(-1, status, options, rusage); } /* Posix states that idtype_t should be an enumeration type, but * the kernel headers define P_ALL, P_PID and P_PGID as constant macros diff --git a/packages/apr/build.sh b/packages/apr/build.sh index 6cef7a181..feab308da 100644 --- a/packages/apr/build.sh +++ b/packages/apr/build.sh @@ -1,4 +1,5 @@ TERMUX_PKG_VERSION=1.5.2 +TERMUX_PKG_BUILD_REVISION=1 TERMUX_PKG_SRCURL=http://archive.apache.org/dist/apr/apr-${TERMUX_PKG_VERSION}.tar.bz2 TERMUX_PKG_HOMEPAGE=https://apr.apache.org/ TERMUX_PKG_DESCRIPTION="Apache Portable Runtime - library providing a predictable and consistent interface to underlying platform-specific implementations" diff --git a/packages/bash/build.sh b/packages/bash/build.sh index 9a85b5e20..672d3115f 100755 --- a/packages/bash/build.sh +++ b/packages/bash/build.sh @@ -4,7 +4,7 @@ TERMUX_PKG_DEPENDS="ncurses, readline, libandroid-support, termux-tools" _MAIN_VERSION=4.3 _PATCH_VERSION=39 TERMUX_PKG_VERSION=${_MAIN_VERSION}.${_PATCH_VERSION} -TERMUX_PKG_BUILD_REVISION=1 +TERMUX_PKG_BUILD_REVISION=2 TERMUX_PKG_SRCURL=http://ftp.gnu.org/gnu/bash/bash-${_MAIN_VERSION}.tar.gz TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-multibyte --without-bash-malloc --with-installed-readline ac_cv_header_grp_h=no ac_cv_header_pwd_h=no ac_cv_rl_version=6.3" diff --git a/packages/busybox/build.sh b/packages/busybox/build.sh index 7e9909cb3..22f543326 100755 --- a/packages/busybox/build.sh +++ b/packages/busybox/build.sh @@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=http://www.busybox.net/ TERMUX_PKG_DESCRIPTION="Tiny versions of many common UNIX utilities into a single small executable" TERMUX_PKG_ESSENTIAL=yes TERMUX_PKG_VERSION=1.23.2 +TERMUX_PKG_BUILD_REVISION=1 TERMUX_PKG_SRCURL=http://www.busybox.net/downloads/busybox-${TERMUX_PKG_VERSION}.tar.bz2 TERMUX_PKG_BUILD_IN_SRC=yes diff --git a/packages/dash/build.sh b/packages/dash/build.sh index ec975346f..085acf51b 100644 --- a/packages/dash/build.sh +++ b/packages/dash/build.sh @@ -1,6 +1,7 @@ TERMUX_PKG_HOMEPAGE=http://gondor.apana.org.au/~herbert/dash/ TERMUX_PKG_DESCRIPTION="Small POSIX-compliant implementation of /bin/sh" TERMUX_PKG_VERSION=0.5.8 +TERMUX_PKG_BUILD_REVISION=1 TERMUX_PKG_SRCURL=http://gondor.apana.org.au/~herbert/dash/files/dash-${TERMUX_PKG_VERSION}.tar.gz CFLAGS+=" -DAT_EACCESS=0x200" diff --git a/packages/inetutils/build.sh b/packages/inetutils/build.sh index 98170ad82..87191870f 100644 --- a/packages/inetutils/build.sh +++ b/packages/inetutils/build.sh @@ -1,6 +1,7 @@ TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/inetutils/ TERMUX_PKG_DESCRIPTION="Collection of common network programs" TERMUX_PKG_VERSION=1.9.4 +TERMUX_PKG_BUILD_REVISION=1 TERMUX_PKG_SRCURL=http://ftp.gnu.org/gnu/inetutils/inetutils-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_DEPENDS="readline" # These are old cruft / not suited for android: diff --git a/packages/ttyrec/build.sh b/packages/ttyrec/build.sh index adbba5308..0494dfe28 100644 --- a/packages/ttyrec/build.sh +++ b/packages/ttyrec/build.sh @@ -1,6 +1,7 @@ TERMUX_PKG_HOMEPAGE=http://0xcc.net/ttyrec/ TERMUX_PKG_DESCRIPTION="Terminal recorder and player" TERMUX_PKG_VERSION=1.0.8 +TERMUX_PKG_BUILD_REVISION=1 TERMUX_PKG_SRCURL=http://0xcc.net/ttyrec/ttyrec-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_BUILD_IN_SRC=yes diff --git a/packages/zsh/build.sh b/packages/zsh/build.sh index dfd4ff9db..91dc329f4 100644 --- a/packages/zsh/build.sh +++ b/packages/zsh/build.sh @@ -1,7 +1,7 @@ TERMUX_PKG_HOMEPAGE="http://www.zsh.org/" TERMUX_PKG_DESCRIPTION="Shell designed for interactive use, although it is also a powerful scripting language" TERMUX_PKG_VERSION=5.0.8 -TERMUX_PKG_BUILD_REVISION=1 +TERMUX_PKG_BUILD_REVISION=2 TERMUX_PKG_SRCURL="http://downloads.sourceforge.net/project/zsh/zsh/${TERMUX_PKG_VERSION}/zsh-${TERMUX_PKG_VERSION}.tar.bz2" TERMUX_PKG_RM_AFTER_INSTALL="bin/zsh-${TERMUX_PKG_VERSION}" TERMUX_PKG_DEPENDS="libandroid-support, ncurses, termux-tools"