From 5492ea91982d9bdc3c8ea95534bb495e7979ec31 Mon Sep 17 00:00:00 2001 From: kaloz Date: Sun, 29 Jan 2006 20:02:22 +0000 Subject: add gcc4 fixes, remove the NEC FC20X2JA driver patch from lcd4linux temporary git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3066 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/xinetd/patches/xinetd-2.3.13-gcc4-1.patch | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/xinetd/patches/xinetd-2.3.13-gcc4-1.patch (limited to 'package/xinetd/patches') diff --git a/package/xinetd/patches/xinetd-2.3.13-gcc4-1.patch b/package/xinetd/patches/xinetd-2.3.13-gcc4-1.patch new file mode 100644 index 000000000..49ac327bc --- /dev/null +++ b/package/xinetd/patches/xinetd-2.3.13-gcc4-1.patch @@ -0,0 +1,33 @@ +Submitted By: Randy McMurchy +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( ¤t_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( ¤t_time ) ; -- cgit v1.2.3