wok-current rev 5737
gpxe: fix for gcc 4.5.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 26 13:55:40 2010 +0200 (2010-06-26) |
parents | 2a76df9f77e4 |
children | c88267ec8277 |
files | gpxe/receipt |
line diff
1.1 --- a/gpxe/receipt Sat Jun 26 12:20:19 2010 +0200 1.2 +++ b/gpxe/receipt Sat Jun 26 13:55:40 2010 +0200 1.3 @@ -20,6 +20,8 @@ 1.4 patch -p2 < ../../stuff/$i || return 1 1.5 touch done.$i 1.6 done 1.7 + sed -i 's/ = ++ns->cur_rx %/++; ns->cur_rx %=/' drivers/net/ns83820.c 1.8 + sed -i 's/ = (++tp->cur_rx) %/++; tp->cur_rx %=/' drivers/net/tulip.c 1.9 make EXTRA_CFLAGS=-fno-strict-aliasing bin/gpxe.lkrn bin/undionly.kpxe 1.10 } 1.11