Integrate patches inside git repository
[hvlinux.git] / stage3 / patches / common / xinetd-2.3.15-libtirpc-fixes.patch
diff --git a/stage3/patches/common/xinetd-2.3.15-libtirpc-fixes.patch b/stage3/patches/common/xinetd-2.3.15-libtirpc-fixes.patch
new file mode 100644 (file)
index 0000000..80b699e
--- /dev/null
@@ -0,0 +1,44 @@
+diff -ur xinetd-2.3.15.orig/xinetd/Makefile.in xinetd-2.3.15.new/xinetd/Makefile.in
+--- xinetd-2.3.15.orig/xinetd/Makefile.in      2005-03-30 18:15:28.000000000 -0500
++++ xinetd-2.3.15.new/xinetd/Makefile.in       2012-09-08 22:54:43.315784175 -0400
+@@ -40,7 +40,7 @@
+ INSTALL_CMD = @INSTALL@
+-LIBS        = -lsio -lmisc -lxlog -lportable -lstr -lpset @LIBS@
++LIBS        = -lsio -lmisc -lxlog -lportable -lstr -lpset -ltirpc @LIBS@
+ INCLUDEDIR  = -I../libs/include
+ LIBDIR      = -L../libs/lib
+diff -ur xinetd-2.3.15.orig/xinetd/itox.c xinetd-2.3.15.new/xinetd/itox.c
+--- xinetd-2.3.15.orig/xinetd/itox.c   2007-09-20 13:13:24.000000000 -0400
++++ xinetd-2.3.15.new/xinetd/itox.c    2012-09-08 22:54:43.329785955 -0400
+@@ -31,8 +31,8 @@
+ int line_count ;
+ static void print_line( const char *name, const char *value );
+ static char *next_word( const char *description );
+-static char *make_string_cat( register unsigned count, ... );
+-static char *make_pathname( register unsigned count, ... );
++static char *make_string_cat(  unsigned count, ... );
++static char *make_pathname(  unsigned count, ... );
+ /*
+@@ -219,7 +219,7 @@
+       return( word ) ;
+ }
+-static char *make_string_cat( register unsigned count, ... )
++static char *make_string_cat(  unsigned count, ... )
+ {
+    va_list ap ;
+    register unsigned i ;
+@@ -268,7 +268,7 @@
+    return newstring ;
+ }
+-static char *make_pathname( register unsigned count, ... )
++static char *make_pathname(  unsigned count, ... )
+ {
+    va_list ap ;
+    register unsigned i ;