aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2002-02-08 16:12:24 +0800
committervanilla <vanilla@FreeBSD.org>2002-02-08 16:12:24 +0800
commitd5acfdb750811d51642dedb32a1970fc31c15255 (patch)
tree7ff72fd5b0674df589afae267f7750b883b5a0c0 /security
parentf34465a19112557c3cf4374adc3da6f1f5c1ffa4 (diff)
downloadfreebsd-ports-gnome-d5acfdb750811d51642dedb32a1970fc31c15255.tar.gz
freebsd-ports-gnome-d5acfdb750811d51642dedb32a1970fc31c15255.tar.zst
freebsd-ports-gnome-d5acfdb750811d51642dedb32a1970fc31c15255.zip
Fix breakage on current.
Obtained from: bento
Diffstat (limited to 'security')
-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
+