add pciutils v2.2.1
[openwrt.git] / package / xinetd / patches / xinetd-2.3.13-gcc4-1.patch
1 Submitted By: Randy McMurchy <randy_at_linuxfromscratch_dot_org>
2 Date: 2005-08-07
3 Initial Package Version: 2.3.13
4 Upstream Status: Not submitted
5 Origin: Fedora Development CVS
6 Description: Fixes compilation error if using GCC-4.x
7
8
9 diff -Naur xinetd-2.3.13-orig/xinetd/service.c xinetd-2.3.13/xinetd/service.c
10 --- xinetd-2.3.13-orig/xinetd/service.c 2003-11-16 12:44:10.000000000 +0000
11 +++ xinetd-2.3.13/xinetd/service.c 2005-08-07 18:37:33.395942648 +0000
12 @@ -764,8 +764,8 @@
13 return FAILED;
14
15 if ( last == NULL ) {
16 - last = SAIN( SVC_LAST_DGRAM_ADDR(sp) ) =
17 - SAIN( calloc( 1, sizeof(union xsockaddr) ) );
18 + SVC_LAST_DGRAM_ADDR(sp) = calloc( 1, sizeof(union xsockaddr) );
19 + last = SAIN(SVC_LAST_DGRAM_ADDR(sp));
20 }
21
22 (void) time( &current_time ) ;
23 @@ -791,8 +791,8 @@
24 return FAILED;
25
26 if( last == NULL ) {
27 - last = SAIN6(SVC_LAST_DGRAM_ADDR(sp)) =
28 - SAIN6(calloc( 1, sizeof(union xsockaddr) ) );
29 + SVC_LAST_DGRAM_ADDR(sp) = calloc( 1, sizeof(union xsockaddr) );
30 + last = SAIN6( SVC_LAST_DGRAM_ADDR(sp) );
31 }
32
33 (void) time( &current_time ) ;
This page took 0.038353 seconds and 5 git commands to generate.