aboutsummaryrefslogtreecommitdiffstats
path: root/security/pidentd
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>1999-08-29 21:14:16 +0800
committergreen <green@FreeBSD.org>1999-08-29 21:14:16 +0800
commit61593d193c3a73f7cc62fcf805a8726ab6a484fe (patch)
tree2092f5688839ace3d324d5b3203c1f2831ace696 /security/pidentd
parent2e327d99f50d2974ab1be1f052fa6ba90e70a958 (diff)
downloadfreebsd-ports-graphics-61593d193c3a73f7cc62fcf805a8726ab6a484fe.tar.gz
freebsd-ports-graphics-61593d193c3a73f7cc62fcf805a8726ab6a484fe.tar.zst
freebsd-ports-graphics-61593d193c3a73f7cc62fcf805a8726ab6a484fe.zip
Update to allow 3.2 (320002) to use the new interface to the kernel.
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 b8ab82d74eb..08893afd3f8 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 8312f571f74..427a9f5122d 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>