summaryrefslogtreecommitdiff
path: root/net/oidentd/patches
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-01-04 12:59:40 +0000
committertron <tron@pkgsrc.org>2004-01-04 12:59:40 +0000
commita3194ee4d4e5844f03fe9e88bbb11a48f0bc8479 (patch)
treef0fa6a625acf6b4bfe3f5b84bcb0b13f1ea1300d /net/oidentd/patches
parent32c19cfcea7f2990c5b425e970471ca448a76373 (diff)
downloadpkgsrc-a3194ee4d4e5844f03fe9e88bbb11a48f0bc8479.tar.gz
Include "sys/param.h" explicitly because the modified code checks
"__NetBSD_Version__" which is only accidently availabe because "sys/sysctl.h" got included.
Diffstat (limited to 'net/oidentd/patches')
-rw-r--r--net/oidentd/patches/patch-ac18
1 files changed, 13 insertions, 5 deletions
diff --git a/net/oidentd/patches/patch-ac b/net/oidentd/patches/patch-ac
index dec7951e377..770e2a32cf2 100644
--- a/net/oidentd/patches/patch-ac
+++ b/net/oidentd/patches/patch-ac
@@ -1,8 +1,16 @@
-$NetBSD: patch-ac,v 1.2 2004/01/04 11:53:20 tron Exp $
+$NetBSD: patch-ac,v 1.3 2004/01/04 12:59:40 tron Exp $
--- src/kernel/netbsd.c.orig 2003-02-12 03:15:59.000000000 +0100
-+++ src/kernel/netbsd.c 2004-01-04 12:52:29.000000000 +0100
-@@ -162,7 +162,7 @@
++++ src/kernel/netbsd.c 2004-01-04 13:57:58.000000000 +0100
+@@ -29,6 +29,7 @@
+ #include <errno.h>
+ #include <string.h>
+ #include <sys/types.h>
++#include <sys/param.h>
+ #include <sys/socket.h>
+ #include <sys/socketvar.h>
+ #include <netinet/in.h>
+@@ -162,7 +163,7 @@
if (tcbtablep == NULL)
return (NULL);
@@ -11,7 +19,7 @@ $NetBSD: patch-ac,v 1.2 2004/01/04 11:53:20 tron Exp $
while (kpcbp != (struct inpcb *) ktcbtablep) {
if (getbuf((u_long) kpcbp, &pcb, sizeof(struct inpcb)) == -1)
break;
-@@ -185,7 +185,7 @@
+@@ -185,7 +186,7 @@
return (pcb.inp_socket);
}
@@ -20,7 +28,7 @@ $NetBSD: patch-ac,v 1.2 2004/01/04 11:53:20 tron Exp $
}
return (NULL);
-@@ -351,7 +351,11 @@
+@@ -351,7 +352,11 @@
return (tcb6_temp.in6p_socket);
}