pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/oidentd Include "sys/param.h" explicitly because t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb67a828148c
branches:  trunk
changeset: 465657:bb67a828148c
user:      tron <tron%pkgsrc.org@localhost>
date:      Sun Jan 04 12:59:40 2004 +0000

description:
Include "sys/param.h" explicitly because the modified code checks
"__NetBSD_Version__" which is only accidently availabe because
"sys/sysctl.h" got included.

diffstat:

 net/oidentd/distinfo         |   4 ++--
 net/oidentd/patches/patch-ac |  18 +++++++++++++-----
 2 files changed, 15 insertions(+), 7 deletions(-)

diffs (54 lines):

diff -r bf472cf21ff5 -r bb67a828148c net/oidentd/distinfo
--- a/net/oidentd/distinfo      Sun Jan 04 11:59:49 2004 +0000
+++ b/net/oidentd/distinfo      Sun Jan 04 12:59:40 2004 +0000
@@ -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 -r bf472cf21ff5 -r bb67a828148c net/oidentd/patches/patch-ac
--- a/net/oidentd/patches/patch-ac      Sun Jan 04 11:59:49 2004 +0000
+++ b/net/oidentd/patches/patch-ac      Sun Jan 04 12:59:40 2004 +0000
@@ -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 @@
        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 @@
        }
  
        return (NULL);
-@@ -351,7 +351,11 @@
+@@ -351,7 +352,11 @@
                        return (tcb6_temp.in6p_socket);
                }
  



Home | Main Index | Thread Index | Old Index