# HG changeset patch # User Pascal Bellard # Date 1277553340 -7200 # Node ID 21ebecd31083665dfae4ad7f582ae4acbf98eb7b # Parent 2a76df9f77e42a18607e48206e9d678986a90ec1 gpxe: fix for gcc 4.5.0 diff -r 2a76df9f77e4 -r 21ebecd31083 gpxe/receipt --- a/gpxe/receipt Sat Jun 26 12:20:19 2010 +0200 +++ b/gpxe/receipt Sat Jun 26 13:55:40 2010 +0200 @@ -20,6 +20,8 @@ patch -p2 < ../../stuff/$i || return 1 touch done.$i done + sed -i 's/ = ++ns->cur_rx %/++; ns->cur_rx %=/' drivers/net/ns83820.c + sed -i 's/ = (++tp->cur_rx) %/++; tp->cur_rx %=/' drivers/net/tulip.c make EXTRA_CFLAGS=-fno-strict-aliasing bin/gpxe.lkrn bin/undionly.kpxe }