Browse Source

dnsutils: Update from 9.13.3 to 9.13.4

android-5
Fredrik Fornwall 6 years ago
parent
commit
55643a4cdb
  1. 6
      packages/dnsutils/build.sh
  2. 13
      packages/dnsutils/lib-isc-pthreads-thread.c.patch

6
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

13
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
Loading…
Cancel
Save