mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-03 11:12:13 +00:00
Fix breakage on current.
Obtained from: bento
This commit is contained in:
parent
b6e22e7502
commit
695e94a569
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54359
21
security/xinetd/files/patch-xinetd::reconfig.c
Normal file
21
security/xinetd/files/patch-xinetd::reconfig.c
Normal file
@ -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
|
22
security/xinetd/files/patch-xinetd::service.c
Normal file
22
security/xinetd/files/patch-xinetd::service.c
Normal file
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user