From 55643a4cdb1c39b5edc83bac97c4ddc317b37207 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Tue, 27 Nov 2018 00:21:03 +0100 Subject: [PATCH] dnsutils: Update from 9.13.3 to 9.13.4 --- packages/dnsutils/build.sh | 6 +++--- packages/dnsutils/lib-isc-pthreads-thread.c.patch | 13 +++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 packages/dnsutils/lib-isc-pthreads-thread.c.patch diff --git a/packages/dnsutils/build.sh b/packages/dnsutils/build.sh index 0d8748beb..52b122814 100644 --- a/packages/dnsutils/build.sh +++ b/packages/dnsutils/build.sh @@ -1,12 +1,12 @@ TERMUX_PKG_HOMEPAGE=https://www.isc.org/downloads/bind/ TERMUX_PKG_DESCRIPTION="Clients provided with BIND" -TERMUX_PKG_VERSION=9.13.3 -TERMUX_PKG_REVISION=1 -TERMUX_PKG_SHA256=76674cf2a3e61766aed5c7fd1ee6ed3da133a9e331b35b24f40efdf1bbac5b44 +TERMUX_PKG_VERSION=9.13.4 +TERMUX_PKG_SHA256=ea02107ae0b22a5b3df76d4c45bd44414f1d17731fffc07813d8e5b4ce05f95b TERMUX_PKG_SRCURL="ftp://ftp.isc.org/isc/bind9/${TERMUX_PKG_VERSION}/bind-${TERMUX_PKG_VERSION}.tar.gz" TERMUX_PKG_DEPENDS="openssl, readline, resolv-conf" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --disable-linux-caps +--without-python --with-ecdsa=no --with-gost=no --with-gssapi=no diff --git a/packages/dnsutils/lib-isc-pthreads-thread.c.patch b/packages/dnsutils/lib-isc-pthreads-thread.c.patch new file mode 100644 index 000000000..8ff4b9a1f --- /dev/null +++ b/packages/dnsutils/lib-isc-pthreads-thread.c.patch @@ -0,0 +1,13 @@ +diff -u -r ../bind-9.13.4/lib/isc/pthreads/thread.c ./lib/isc/pthreads/thread.c +--- ../bind-9.13.4/lib/isc/pthreads/thread.c 2018-11-22 00:20:34.000000000 +0000 ++++ ./lib/isc/pthreads/thread.c 2018-11-26 22:56:50.905945958 +0000 +@@ -73,7 +73,9 @@ + + void + isc_thread_setconcurrency(unsigned int level) { ++#ifndef __ANDROID__ + (void)pthread_setconcurrency(level); ++#endif + } + + void