summaryrefslogtreecommitdiff
path: root/security/xinetd
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2002-02-08 08:12:24 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2002-02-08 08:12:24 +0000
commit695e94a5692e63aa4f4d3e24796f7a50a7451431 (patch)
tree53795dca71f403e7b223623cdb05fb85de10e85b /security/xinetd
parentAdd p5-FAQ-OMatic 2.712, perl API to manipulate FAQ-O-Matics. (diff)
Fix breakage on current.
Obtained from: bento
Notes
Notes: svn path=/head/; revision=54359
Diffstat (limited to 'security/xinetd')
-rw-r--r--security/xinetd/files/patch-xinetd::reconfig.c21
-rw-r--r--security/xinetd/files/patch-xinetd::service.c22
2 files changed, 43 insertions, 0 deletions
diff --git a/security/xinetd/files/patch-xinetd::reconfig.c b/security/xinetd/files/patch-xinetd::reconfig.c
new file mode 100644
index 000000000000..66e7faffce0d
--- /dev/null
+++ b/security/xinetd/files/patch-xinetd::reconfig.c
@@ -0,0 +1,21 @@
+--- xinetd/reconfig.c.orig Sun Jul 15 04:31:28 2001
++++ xinetd/reconfig.c Fri Feb 8 16:05:56 2002
+@@ -14,6 +14,7 @@
+ #include <memory.h>
+ #include <stdlib.h>
+ #include <netinet/in.h>
++#include <osreldate.h>
+ #ifndef NO_RPC
+ #ifdef HAVE_RPC_PMAP_CLNT_H
+ #ifdef __sun
+@@ -22,6 +23,10 @@
+ #endif
+ #include <rpc/types.h>
+ #include <rpc/xdr.h>
++ #if __FreeBSD_version >= 500029
++ #include <rpc/auth.h>
++ #include <rpc/clnt.h>
++ #endif
+ #include <rpc/pmap_clnt.h>
+ #endif
+ #endif
diff --git a/security/xinetd/files/patch-xinetd::service.c b/security/xinetd/files/patch-xinetd::service.c
new file mode 100644
index 000000000000..1e609a18f585
--- /dev/null
+++ b/security/xinetd/files/patch-xinetd::service.c
@@ -0,0 +1,22 @@
+--- xinetd/service.c.orig Mon Aug 13 03:58:57 2001
++++ xinetd/service.c Fri Feb 8 16:06:16 2002
+@@ -19,6 +19,7 @@
+ #include <time.h>
+ #include <errno.h>
+ #include <netinet/in.h>
++#include <osreldate.h>
+ #ifndef NO_RPC
+ #ifdef HAVE_RPC_PMAP_CLNT_H
+ #ifdef __sun
+@@ -27,7 +28,10 @@
+ #endif
+ #include <rpc/types.h>
+ #include <rpc/xdr.h>
+- #include <rpc/pmap_clnt.h>
++ #if __FreeBSD__version >= 500029
++ #include <rpc/auth.h>
++ #include <rpc/pmap_clnt.h>
++ #endif
+ #endif
+ #endif
+