summaryrefslogtreecommitdiff
path: root/package/xinetd/patches/patch-xinetd_confparse_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-24 09:58:36 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-24 09:58:36 +0100
commite27ccf2bc39bc5bd22af970dde175c02e7d422d2 (patch)
tree591cdd47c19992c12846fe6c2158c149e6e95ddc /package/xinetd/patches/patch-xinetd_confparse_c
parentcfac84e0994edb1d6eb835dd685cabb0b9ae4bb5 (diff)
fix for musl, update to latest
Diffstat (limited to 'package/xinetd/patches/patch-xinetd_confparse_c')
-rw-r--r--package/xinetd/patches/patch-xinetd_confparse_c18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/xinetd/patches/patch-xinetd_confparse_c b/package/xinetd/patches/patch-xinetd_confparse_c
new file mode 100644
index 000000000..e6aa32e68
--- /dev/null
+++ b/package/xinetd/patches/patch-xinetd_confparse_c
@@ -0,0 +1,18 @@
+--- xinetd-2.3.15.orig/xinetd/confparse.c 2007-09-20 16:58:27.000000000 +0200
++++ xinetd-2.3.15/xinetd/confparse.c 2014-03-23 22:39:37.000000000 +0100
+@@ -746,6 +746,7 @@ static status_e check_entry( struct serv
+ }
+
+ /* #ifndef NO_RPC */
++#if 0
+ #if defined(HAVE_RPC_RPCENT_H) || defined(HAVE_NETDB_H)
+ if ( SC_IS_RPC( scp ) && !SC_IS_UNLISTED( scp ) )
+ {
+@@ -760,6 +761,7 @@ static status_e check_entry( struct serv
+ }
+ else
+ #endif /* ! NO_RPC */
++#endif
+ {
+ if ( !SC_IS_UNLISTED( scp ) )
+ {