dnsutils: update to 9.16.0

This commit is contained in:
Leonid Pliushch 2020-03-08 22:33:55 +02:00
parent 7e0148cf27
commit a45aea8764
2 changed files with 8 additions and 9 deletions

View File

@ -1,10 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://www.isc.org/downloads/bind/
TERMUX_PKG_DESCRIPTION="Clients provided with BIND"
TERMUX_PKG_LICENSE="MPL-2.0"
TERMUX_PKG_VERSION=9.15.8
TERMUX_PKG_REVISION=2
TERMUX_PKG_VERSION=9.16.0
TERMUX_PKG_SRCURL="ftp://ftp.isc.org/isc/bind9/${TERMUX_PKG_VERSION}/bind-${TERMUX_PKG_VERSION}.tar.xz"
TERMUX_PKG_SHA256=7397a92575f2a63549727b22b7705a3314fadbbb1829d49e7c4e5e77fb13d919
TERMUX_PKG_SHA256=af4bd9bdaeb1aa7399429972f3a8aa01dd6886b7ae046d703ab8da45330f2e28
TERMUX_PKG_DEPENDS="openssl, readline, resolv-conf, zlib, libuv"
TERMUX_PKG_BREAKS="dnsutils-dev"
TERMUX_PKG_REPLACES="dnsutils-dev"

View File

@ -1,10 +1,10 @@
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 @@
diff -uNr bind-9.16.0/lib/isc/pthreads/thread.c bind-9.16.0.mod/lib/isc/pthreads/thread.c
--- bind-9.16.0/lib/isc/pthreads/thread.c 2020-02-12 22:03:44.000000000 +0200
+++ bind-9.16.0.mod/lib/isc/pthreads/thread.c 2020-03-08 22:29:34.847302635 +0200
@@ -95,7 +95,9 @@
void
isc_thread_setconcurrency(unsigned int level) {
isc_thread_setconcurrency(unsigned int level)
{
+#ifndef __ANDROID__
(void)pthread_setconcurrency(level);
+#endif