# HG changeset patch # User Pascal Bellard # Date 1348400359 -7200 # Node ID c86fbbc54081624a1ea774a9011b4b474ffa9e74 # Parent 8f6acafcf6379f664c86f9c530318467cff50f05 grub2: fix build with flex 2.5.37 diff -r 8f6acafcf637 -r c86fbbc54081 grub2/receipt --- a/grub2/receipt Sun Sep 23 09:34:13 2012 +0100 +++ b/grub2/receipt Sun Sep 23 13:39:19 2012 +0200 @@ -17,6 +17,11 @@ compile_rules() { cd $src + + # Fixes for flex 2.5.37 + export CFLAGS="-Wno-error=sign-compare" + sed -i 's/YY_FATAL_ERROR/REMOVED_&/' grub-core/script/yylex.l + chmod +x install-sh ./configure --prefix=/usr --sysconfdir=/etc \ --mandir=/usr/share/man $CONFIGURE_ARGS &&