diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-03-22 02:49:36 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-03-22 02:49:36 +0000 |
commit | 7256cfade5382bdf0bcb2297a40b6b81a07bdf26 (patch) | |
tree | a2e455b0542c62aceaae42ddcc445ddbd31158d2 /sys-apps/xinetd/files | |
parent | Requires >=dev-libs/libxml2-2.6.17, see bug #86157 (diff) | |
download | historical-7256cfade5382bdf0bcb2297a40b6b81a07bdf26.tar.gz historical-7256cfade5382bdf0bcb2297a40b6b81a07bdf26.tar.bz2 historical-7256cfade5382bdf0bcb2297a40b6b81a07bdf26.zip |
add gcc-4 patch #86128 by Kristiaan Lenaerts
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-apps/xinetd/files')
-rw-r--r-- | sys-apps/xinetd/files/xinetd-2.3.13-gcc4.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-apps/xinetd/files/xinetd-2.3.13-gcc4.patch b/sys-apps/xinetd/files/xinetd-2.3.13-gcc4.patch new file mode 100644 index 000000000000..80a7bfda84a9 --- /dev/null +++ b/sys-apps/xinetd/files/xinetd-2.3.13-gcc4.patch @@ -0,0 +1,28 @@ +Fixes from upstream CVS for gcc-4.x. + +http://bugs.gentoo.org/show_bug.cgi?id=86128 + +--- xinetd/service.c ++++ xinetd/service.c +@@ -764,8 +764,8 @@ + return FAILED; + + if ( last == NULL ) { +- last = SAIN( SVC_LAST_DGRAM_ADDR(sp) ) = +- SAIN( calloc( 1, sizeof(union xsockaddr) ) ); ++ last = SAIN( calloc( 1, sizeof(union xsockaddr) ) ); ++ SVC_LAST_DGRAM_ADDR(sp) = (union xsockaddr *)last; + } + + (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) ) ); ++ last = SAIN6(calloc( 1, sizeof(union xsockaddr) ) ); ++ SVC_LAST_DGRAM_ADDR( sp ) = (union xsockaddr *)last; + } + + (void) time( ¤t_time ) ; |