summaryrefslogtreecommitdiff
path: root/net/bind9
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-04-01 20:29:53 +0000
committertron <tron@pkgsrc.org>2004-04-01 20:29:53 +0000
commit96ecbc8ae07c483e086c58d5e620ee1f27025887 (patch)
tree15d5b9390c29fb89145acc1ac5be8f3f6fb85760 /net/bind9
parent5075a9fb5110a247c180947c592fd53ede1af613 (diff)
downloadpkgsrc-96ecbc8ae07c483e086c58d5e620ee1f27025887.tar.gz
Include "sys/param.h" before "sys/sysctl.h" (as documented) on NetBSD to
fix build failure in (at least) NetBSD 2.0B.
Diffstat (limited to 'net/bind9')
-rw-r--r--net/bind9/distinfo3
-rw-r--r--net/bind9/patches/patch-ag14
2 files changed, 16 insertions, 1 deletions
diff --git a/net/bind9/distinfo b/net/bind9/distinfo
index ee22b3377ae..a56042c3454 100644
--- a/net/bind9/distinfo
+++ b/net/bind9/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2003/10/30 15:23:58 cube Exp $
+$NetBSD: distinfo,v 1.15 2004/04/01 20:29:53 tron Exp $
SHA1 (bind/9.2.3/bind-9.2.3.tar.gz) = 670edd74685a1e7a784fae8532f6b79444bba5a6
Size (bind/9.2.3/bind-9.2.3.tar.gz) = 4553260 bytes
@@ -8,3 +8,4 @@ SHA1 (patch-ac) = 1696adfab7392e0f150d34931b808e51ad017938
SHA1 (patch-ad) = 3d566cc585f996ce36dbed4e8efdb2b6226aa58c
SHA1 (patch-ae) = 089d51ae714447e9177aa49673223be29790f814
SHA1 (patch-af) = 4a4cd41c2d5acee9428892f4bf7eb9ea7c6e4131
+SHA1 (patch-ag) = f79fdb089dee45f474359efb414e9c2d70dbfd32
diff --git a/net/bind9/patches/patch-ag b/net/bind9/patches/patch-ag
new file mode 100644
index 00000000000..9ae6db9c339
--- /dev/null
+++ b/net/bind9/patches/patch-ag
@@ -0,0 +1,14 @@
+$NetBSD: patch-ag,v 1.3 2004/04/01 20:29:53 tron Exp $
+
+--- lib/isc/unix/os.c.orig 2001-08-16 08:19:58.000000000 +0200
++++ lib/isc/unix/os.c 2004-04-01 22:22:25.000000000 +0200
+@@ -56,6 +56,9 @@
+
+ #if defined(HAVE_SYS_SYSCTL_H) && defined(HAVE_SYSCTLBYNAME)
+ #include <sys/types.h>
++#ifdef __NetBSD__
++#include <sys/param.h>
++#endif
+ #include <sys/sysctl.h>
+
+ static int