pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/bind9 Include "sys/param.h" before "sys/sysctl.h" ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bd17136a3b2e
branches:  trunk
changeset: 471982:bd17136a3b2e
user:      tron <tron%pkgsrc.org@localhost>
date:      Thu Apr 01 20:29:53 2004 +0000

description:
Include "sys/param.h" before "sys/sysctl.h" (as documented) on NetBSD to
fix build failure in (at least) NetBSD 2.0B.

diffstat:

 net/bind9/distinfo         |   3 ++-
 net/bind9/patches/patch-ag |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 2a1a226ff270 -r bd17136a3b2e net/bind9/distinfo
--- a/net/bind9/distinfo        Thu Apr 01 20:27:49 2004 +0000
+++ b/net/bind9/distinfo        Thu Apr 01 20:29:53 2004 +0000
@@ -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-ad) = 3d566cc585f996ce36dbed4e8efdb2b6226aa58c
 SHA1 (patch-ae) = 089d51ae714447e9177aa49673223be29790f814
 SHA1 (patch-af) = 4a4cd41c2d5acee9428892f4bf7eb9ea7c6e4131
+SHA1 (patch-ag) = f79fdb089dee45f474359efb414e9c2d70dbfd32
diff -r 2a1a226ff270 -r bd17136a3b2e net/bind9/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bind9/patches/patch-ag        Thu Apr 01 20:29:53 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index