Browse Source

dnsutils: update lib-irs-context.c.patch

master
Leonid Plyushch 5 years ago
parent
commit
268c9dbd96
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 18
      packages/dnsutils/lib-irs-context.c.patch

18
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;

Loading…
Cancel
Save