From aaddb0e1549a869d6c622cc0bffff849c0850e76 Mon Sep 17 00:00:00 2001
From: itojun <itojun@pkgsrc.org>
Date: Mon, 26 Aug 2002 11:42:07 +0000
Subject: make dig/host/nslookup work on NetBSD

---
 net/bind9-current/distinfo         |  3 ++-
 net/bind9-current/patches/patch-aa | 14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)
 create mode 100644 net/bind9-current/patches/patch-aa

(limited to 'net')

diff --git a/net/bind9-current/distinfo b/net/bind9-current/distinfo
index f5993ada00b..b559e6da8f8 100644
--- a/net/bind9-current/distinfo
+++ b/net/bind9-current/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.20 2002/08/26 11:26:06 itojun Exp $
+$NetBSD: distinfo,v 1.21 2002/08/26 11:42:07 itojun Exp $
 
 SHA1 (bind/9.3.0s20020722/bind-9.3.0s20020722.tar.gz) = fcd86c88d0fa95d9647ac9db19d3807c5abe2c56
 Size (bind/9.3.0s20020722/bind-9.3.0s20020722.tar.gz) = 5162667 bytes
+SHA1 (patch-aa) = c23ea4fdb61e9a08e8f88bcc91fb1adc652403ba
 SHA1 (patch-ab) = 1d3d82e3e01ac38e8a1b1d98e018849e8fe071bf
 SHA1 (patch-ac) = 1696adfab7392e0f150d34931b808e51ad017938
 SHA1 (patch-ai) = 916d2cdadd420b34e908f3c128e864bf271ebb6a
diff --git a/net/bind9-current/patches/patch-aa b/net/bind9-current/patches/patch-aa
new file mode 100644
index 00000000000..85adf24690d
--- /dev/null
+++ b/net/bind9-current/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.3 2002/08/26 11:42:09 itojun Exp $
+
+--- lib/bind9/getaddresses.c-	Mon Aug 26 20:39:28 2002
++++ lib/bind9/getaddresses.c	Mon Aug 26 20:39:34 2002
+@@ -89,9 +89,6 @@
+ 		hints.ai_family = PF_INET6;
+ 	else {
+ 		hints.ai_family = PF_UNSPEC;
+-#ifdef AI_ADDRCONFIG
+-		hints.ai_flags = AI_ADDRCONFIG;
+-#endif
+ 	}
+ 	hints.ai_socktype = SOCK_STREAM;
+ 	result = getaddrinfo(hostname, NULL, &hints, &ai);
-- 
cgit v1.2.3