TERMUX_PKG_HOMEPAGE=https://www.isc.org/downloads/bind/
TERMUX_PKG_DESCRIPTION="Clients provided with BIND"
TERMUX_PKG_VERSION=9.11.1-P3
+TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=52426e75432e46996dc90f24fca027805a341c38fbbb022b60dc9acd2677ccf4
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"
--- /dev/null
+diff -uNr bind-9.11.1-P3/lib/lwres/include/lwres/lwres.h bind-9.11.1-P3.mod/lib/lwres/include/lwres/lwres.h
+--- bind-9.11.1-P3/lib/lwres/include/lwres/lwres.h 2017-07-07 18:01:52.000000000 +0300
++++ bind-9.11.1-P3.mod/lib/lwres/include/lwres/lwres.h 2017-10-04 16:48:56.466109542 +0300
+@@ -74,7 +74,7 @@
+ #define LWRES_UDP_PORT 921 /*%< UDP Port Number */
+ #define LWRES_RECVLENGTH 16384 /*%< Maximum Packet Length */
+ #define LWRES_ADDR_MAXLEN 16 /*%< changing this breaks ABI */
+-#define LWRES_RESOLV_CONF "/etc/resolv.conf" /*%< Location of resolv.conf */
++#define LWRES_RESOLV_CONF "@TERMUX_PREFIX@/etc/resolv.conf" /*%< Location of resolv.conf */
+
+ /*% DNSSEC is not required (input). Only relevant to rrset queries. */
+ #define LWRES_FLAG_TRUSTNOTREQUIRED 0x00000001U