diff options
author | Frans Meulenbroeks <fransmeulenbroeks@yahoo.com> | 2006-07-01 17:27:05 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-07-01 17:27:05 +0000 |
commit | 7c3472eee98c335d0d5f42cd879b2c8e5d5bcacc (patch) | |
tree | 85f596c108fa34dce63bcef956bd211e5db2b021 /packages/xinetd | |
parent | 57d4c4a48e139da14d04b096c000600f36389f77 (diff) |
xinetd: slightly changed code to make it compilable with gcc 4.1.1
Diffstat (limited to 'packages/xinetd')
-rw-r--r-- | packages/xinetd/xinetd/service.c.patch | 24 | ||||
-rw-r--r-- | packages/xinetd/xinetd_2.3.13.bb | 3 |
2 files changed, 26 insertions, 1 deletions
diff --git a/packages/xinetd/xinetd/service.c.patch b/packages/xinetd/xinetd/service.c.patch new file mode 100644 index 0000000000..b94ae2184f --- /dev/null +++ b/packages/xinetd/xinetd/service.c.patch @@ -0,0 +1,24 @@ +--- xinetd-2.3.13/xinetd/service.c.orig 2006-07-01 19:14:23.000000000 +0200 ++++ xinetd-2.3.13/xinetd/service.c 2006-07-01 19:22:28.000000000 +0200 +@@ -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 ) ; diff --git a/packages/xinetd/xinetd_2.3.13.bb b/packages/xinetd/xinetd_2.3.13.bb index 699667cb26..4e67384d45 100644 --- a/packages/xinetd/xinetd_2.3.13.bb +++ b/packages/xinetd/xinetd_2.3.13.bb @@ -1,11 +1,12 @@ DEPENDS = "" DESCRIPTION = "Highly configurable, modular and secure inetd" MAINTAINER = "NSLU2 Linux <nslu2-linux@yahoogroups.com>" -PR="r3" +PR="r4" SRC_URI = "http://www.xinetd.org/xinetd-${PV}.tar.gz \ file://xinetd.init \ file://xinetd.conf \ + file://service.c.patch;patch=1 \ " EXTRA_OECONF="--disable-nls" |