wok-6.x rev 5734
dhcp: fix for gcc 4.5.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 26 11:57:03 2010 +0200 (2010-06-26) |
parents | 3974255ebbd6 |
children | 88732eec82fc |
files | dhcp/receipt dhcp6/receipt |
line diff
1.1 --- a/dhcp/receipt Fri Jun 25 21:35:51 2010 +0200 1.2 +++ b/dhcp/receipt Sat Jun 26 11:57:03 2010 +0200 1.3 @@ -15,6 +15,10 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 + grep -q MYEOL includes/dhctoken.h || 1.8 + sed -i "s/SEMI/MYEOL = '\\\\n',\n\tQUESTION = '?',\n\t&/" \ 1.9 + includes/dhctoken.h 1.10 + sed -i 's/== NOERROR/== (isc_result_t) NOERROR/' server/ddns.c 1.11 ./configure --prefix=/usr --infodir=/usr/share/info \ 1.12 --disable-dhcpv6 \ 1.13 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \
2.1 --- a/dhcp6/receipt Fri Jun 25 21:35:51 2010 +0200 2.2 +++ b/dhcp6/receipt Sat Jun 26 11:57:03 2010 +0200 2.3 @@ -18,6 +18,10 @@ 2.4 { 2.5 ln -s $src $PACKAGE-$VERSION 2> /dev/null 2.6 cd $src 2.7 + grep -q MYEOL includes/dhctoken.h || 2.8 + sed -i "s/SEMI/MYEOL = '\\\\n',\n\tQUESTION = '?',\n\t&/" \ 2.9 + includes/dhctoken.h 2.10 + sed -i 's/== NOERROR/== (isc_result_t) NOERROR/' server/ddns.c 2.11 for i in start-without-ipv6 ; do 2.12 [ -f $i.done ] && continue 2.13 patch -p1 < ../stuff/$i.u || return 1