From cc9582d63816f268fe32c03a3260332505e5a8c1 Mon Sep 17 00:00:00 2001 From: tron Date: Thu, 1 Apr 2004 20:29:53 +0000 Subject: Include "sys/param.h" before "sys/sysctl.h" (as documented) on NetBSD to fix build failure in (at least) NetBSD 2.0B. --- net/bind9/distinfo | 3 ++- net/bind9/patches/patch-ag | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 net/bind9/patches/patch-ag (limited to 'net/bind9') 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 ++#ifdef __NetBSD__ ++#include ++#endif + #include + + static int -- cgit v1.2.3