summaryrefslogtreecommitdiff
path: root/openwrt/package/xinetd
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2006-01-29 20:02:22 +0000
committerImre Kaloz <kaloz@openwrt.org>2006-01-29 20:02:22 +0000
commitdd8eae04cc4c8d453486b9ad7659f35b2d39cf1c (patch)
tree2be51e1c6c638945f84fae1acd19f9662f0f347f /openwrt/package/xinetd
parent6d4eab2a9d6cab630ea0c858315e740bbce4ce54 (diff)
downloadmtk-20170518-dd8eae04cc4c8d453486b9ad7659f35b2d39cf1c.zip
mtk-20170518-dd8eae04cc4c8d453486b9ad7659f35b2d39cf1c.tar.gz
mtk-20170518-dd8eae04cc4c8d453486b9ad7659f35b2d39cf1c.tar.bz2
add gcc4 fixes, remove the NEC FC20X2JA driver patch from lcd4linux temporary
SVN-Revision: 3066
Diffstat (limited to 'openwrt/package/xinetd')
-rw-r--r--openwrt/package/xinetd/patches/xinetd-2.3.13-gcc4-1.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/openwrt/package/xinetd/patches/xinetd-2.3.13-gcc4-1.patch b/openwrt/package/xinetd/patches/xinetd-2.3.13-gcc4-1.patch
new file mode 100644
index 0000000..49ac327
--- /dev/null
+++ b/openwrt/package/xinetd/patches/xinetd-2.3.13-gcc4-1.patch
@@ -0,0 +1,33 @@
+Submitted By: Randy McMurchy <randy_at_linuxfromscratch_dot_org>
+Date: 2005-08-07
+Initial Package Version: 2.3.13
+Upstream Status: Not submitted
+Origin: Fedora Development CVS
+Description: Fixes compilation error if using GCC-4.x
+
+
+diff -Naur xinetd-2.3.13-orig/xinetd/service.c xinetd-2.3.13/xinetd/service.c
+--- xinetd-2.3.13-orig/xinetd/service.c 2003-11-16 12:44:10.000000000 +0000
++++ xinetd-2.3.13/xinetd/service.c 2005-08-07 18:37:33.395942648 +0000
+@@ -764,8 +764,8 @@
+ return FAILED;
+
+ if ( last == NULL ) {
+- last = SAIN( SVC_LAST_DGRAM_ADDR(sp) ) =
+- SAIN( calloc( 1, sizeof(union xsockaddr) ) );
++ SVC_LAST_DGRAM_ADDR(sp) = calloc( 1, sizeof(union xsockaddr) );
++ last = SAIN(SVC_LAST_DGRAM_ADDR(sp));
+ }
+
+ (void) time( &current_time ) ;
+@@ -791,8 +791,8 @@
+ return FAILED;
+
+ if( last == NULL ) {
+- last = SAIN6(SVC_LAST_DGRAM_ADDR(sp)) =
+- SAIN6(calloc( 1, sizeof(union xsockaddr) ) );
++ SVC_LAST_DGRAM_ADDR(sp) = calloc( 1, sizeof(union xsockaddr) );
++ last = SAIN6( SVC_LAST_DGRAM_ADDR(sp) );
+ }
+
+ (void) time( &current_time ) ;