From fa7403eb135a860e13f9bae6c07793260bb19882 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Thu, 19 Mar 2020 22:01:56 +0200 Subject: [PATCH] dnsutils: update lib-irs-context.c.patch --- packages/dnsutils/lib-irs-context.c.patch | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/packages/dnsutils/lib-irs-context.c.patch b/packages/dnsutils/lib-irs-context.c.patch index 5e1df193d..33d80b0e0 100644 --- a/packages/dnsutils/lib-irs-context.c.patch +++ b/packages/dnsutils/lib-irs-context.c.patch @@ -1,12 +1,18 @@ -diff -uNr bind-9.13.6/lib/irs/context.c bind-9.13.6.mod/lib/irs/context.c ---- bind-9.13.6/lib/irs/context.c 2019-02-07 01:44:09.000000000 +0200 -+++ bind-9.13.6.mod/lib/irs/context.c 2019-03-02 02:39:12.188552664 +0200 -@@ -42,7 +42,7 @@ +diff -uNr bind-9.16.1/lib/irs/context.c bind-9.16.1.mod/lib/irs/context.c +--- bind-9.16.1/lib/irs/context.c 2020-03-11 18:46:53.000000000 +0200 ++++ bind-9.16.1.mod/lib/irs/context.c 2020-03-19 22:01:16.984465631 +0200 +@@ -34,12 +34,12 @@ + + #ifndef RESOLV_CONF + /*% location of resolve.conf */ +-#define RESOLV_CONF "/etc/resolv.conf" ++#define RESOLV_CONF "@TERMUX_PREFIX@/etc/resolv.conf" + #endif /* ifndef RESOLV_CONF */ #ifndef DNS_CONF /*% location of dns.conf */ -#define DNS_CONF "/etc/dns.conf" +#define DNS_CONF "@TERMUX_PREFIX@/etc/dns.conf" - #endif + #endif /* ifndef DNS_CONF */ - static bool thread_key_initialized = false; + ISC_THREAD_LOCAL irs_context_t *irs_context = NULL;