diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2006-01-29 20:02:22 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2006-01-29 20:02:22 +0000 |
commit | cd80d45cf4e0f984a4034527264865fbed689ddf (patch) | |
tree | 1c74164dca2685f4acd1ca6970ac0684147e8b8a /package/xinetd | |
parent | 0b029c16e2e16d6decfebf4953af48f9f5ac0a3a (diff) | |
download | master-187ad058-cd80d45cf4e0f984a4034527264865fbed689ddf.tar.gz master-187ad058-cd80d45cf4e0f984a4034527264865fbed689ddf.tar.bz2 master-187ad058-cd80d45cf4e0f984a4034527264865fbed689ddf.zip |
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
Diffstat (limited to 'package/xinetd')
-rw-r--r-- | package/xinetd/patches/xinetd-2.3.13-gcc4-1.patch | 33 |
1 files changed, 33 insertions, 0 deletions
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 0000000000..49ac327bc1 --- /dev/null +++ b/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( ¤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 ) ; |