summaryrefslogtreecommitdiff
path: root/package/xinetd/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/xinetd/patches')
-rw-r--r--package/xinetd/patches/patch-Makefile_in13
-rw-r--r--package/xinetd/patches/patch-xinetd_confparse_c18
2 files changed, 20 insertions, 11 deletions
diff --git a/package/xinetd/patches/patch-Makefile_in b/package/xinetd/patches/patch-Makefile_in
index a89962c2e..bfc02b9ab 100644
--- a/package/xinetd/patches/patch-Makefile_in
+++ b/package/xinetd/patches/patch-Makefile_in
@@ -1,14 +1,5 @@
---- xinetd-2.3.14.orig/Makefile.in 2003-08-15 16:00:45.000000000 +0200
-+++ xinetd-2.3.14/Makefile.in 2011-01-22 20:53:07.924898364 +0100
-@@ -14,7 +14,7 @@ topdir = @top_srcdir@
-
- LIBS = -lsio -lstr -lmisc -lxlog -lportable -lpset @LIBS@
-
--CFLAGS += @CFLAGS@
-+CFLAGS = @CFLAGS@
- DCFLAGS = -Wall -Wredundant-decls -W -Wfloat-equal -Wundef -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Wmissing-format-attribute -Wshadow -Wpointer-arith -g
-
-
+--- xinetd-2.3.15.orig/Makefile.in 2007-09-20 19:01:52.000000000 +0200
++++ xinetd-2.3.15/Makefile.in 2014-03-23 22:50:01.000000000 +0100
@@ -75,15 +75,15 @@ dlibxlog: dlibsio dlibstr
install: build
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 ) )
+ {