aboutsummaryrefslogtreecommitdiff
path: root/security/pidentd
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>1999-08-29 13:14:16 +0000
committerBrian Feldman <green@FreeBSD.org>1999-08-29 13:14:16 +0000
commitf4e85036fb2a1ead6eb905ac3636248cc5cf1a58 (patch)
tree2a33ebed7a56515de09c319d97fdca337a92265b /security/pidentd
parentf81142703f449f7fbbbfdf2b1a45332e8d9d8c27 (diff)
downloadports-f4e85036fb2a1ead6eb905ac3636248cc5cf1a58.tar.gz
ports-f4e85036fb2a1ead6eb905ac3636248cc5cf1a58.zip
Update to allow 3.2 (320002) to use the new interface to the kernel.
Notes
Notes: svn path=/head/; revision=21087
Diffstat (limited to 'security/pidentd')
-rw-r--r--security/pidentd/files/patch-ak7
-rw-r--r--security/pidentd/files/patch-al2
2 files changed, 5 insertions, 4 deletions
diff --git a/security/pidentd/files/patch-ak b/security/pidentd/files/patch-ak
index b8ab82d74eb2..08893afd3f85 100644
--- a/security/pidentd/files/patch-ak
+++ b/security/pidentd/files/patch-ak
@@ -1,9 +1,10 @@
--- src/freebsd.c.orig Wed Jul 14 15:23:56 1999
+++ src/freebsd.c Wed Jul 14 15:24:51 1999
-@@ -1,3 +1,7 @@
+@@ -1,3 +1,8 @@
+#include <osreldate.h>
-+#if __FreeBSD_version >= 400007
-+#include "freebsd4.c"
++#if __FreeBSD_version >= 400007 || (__FreeBSD_version < 400000 && \
++ __FreeBSD_version >= 320002)
++#include "freebsd-sysctl.c"
+#else
/*
** freebsd.c Low level kernel access functions for FreeBSD 2.x
diff --git a/security/pidentd/files/patch-al b/security/pidentd/files/patch-al
index 8312f571f746..427a9f5122d2 100644
--- a/security/pidentd/files/patch-al
+++ b/security/pidentd/files/patch-al
@@ -1,5 +1,5 @@
--- /dev/null Wed Jul 14 15:27:00 1999
-+++ src/freebsd4.c Thu Jul 8 15:52:57 1999
++++ src/freebsd-sysctl.c Thu Jul 8 15:52:57 1999
@@ -0,0 +1,32 @@
+#include <sys/param.h>
+#include <sys/types.h>