aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
+