diff options
author | tron <tron@pkgsrc.org> | 2004-01-04 12:59:40 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-01-04 12:59:40 +0000 |
commit | be94e7711ddb0dbc549b34a7ce3362f7decf2f45 (patch) | |
tree | f0fa6a625acf6b4bfe3f5b84bcb0b13f1ea1300d /net/oidentd | |
parent | 73c62801f5e1058aad72253c49ae4f0af6aaea3b (diff) | |
download | pkgsrc-be94e7711ddb0dbc549b34a7ce3362f7decf2f45.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')
-rw-r--r-- | net/oidentd/distinfo | 4 | ||||
-rw-r--r-- | net/oidentd/patches/patch-ac | 18 |
2 files changed, 15 insertions, 7 deletions
diff --git a/net/oidentd/distinfo b/net/oidentd/distinfo index 24d7e6f5aaa..be166e460ca 100644 --- a/net/oidentd/distinfo +++ b/net/oidentd/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.3 2004/01/04 11:53:20 tron Exp $ +$NetBSD: distinfo,v 1.4 2004/01/04 12:59:40 tron Exp $ SHA1 (oidentd-2.0.7.tar.gz) = c973b436e6f8cab87b5e2f557e901722e27f1e79 Size (oidentd-2.0.7.tar.gz) = 196027 bytes SHA1 (patch-aa) = b5c82f425fc9f5174dd4efb4c4d13bdf78486beb SHA1 (patch-ab) = 264178c5cc79c744354ab228678cb41bdc27b198 -SHA1 (patch-ac) = bf0559a3157af7ffe1a99e07d0c76705fb63f974 +SHA1 (patch-ac) = 8a5362a2ea62f825e356aeb46697d09aa77110f1 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); } |