diff --git a/packages/dnsutils/lib-isc-pthreads-thread.c.patch b/packages/dnsutils/lib-isc-pthreads-thread.c.patch index 480e960db..de26bd6c4 100644 --- a/packages/dnsutils/lib-isc-pthreads-thread.c.patch +++ b/packages/dnsutils/lib-isc-pthreads-thread.c.patch @@ -1,13 +1,12 @@ -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) - { -+#ifndef __ANDROID__ - (void)pthread_setconcurrency(level); -+#endif +diff -uNr bind-9.16.1/lib/isc/pthreads/thread.c bind-9.16.1.mod/lib/isc/pthreads/thread.c +--- bind-9.16.1/lib/isc/pthreads/thread.c 2020-03-11 18:46:53.000000000 +0200 ++++ bind-9.16.1.mod/lib/isc/pthreads/thread.c 2020-03-19 22:25:00.361910191 +0200 +@@ -88,7 +88,7 @@ + } } - void +-#ifdef __NetBSD__ ++#if defined(__NetBSD__) || defined(__ANDROID__) + #define pthread_setconcurrency(a) (void)a /* nothing */ + #endif /* ifdef __NetBSD__ */ +