GRUB 2.00 build and flex-2.5.37

2012-08-05 Thread Bruce Dubbs
The latest flex makes the GRUB-2.00 build fail. I can work around the issues with --disable-werror, but grub-core/script/yylex.l causes two warnings that do not work with -Werror. ./grub-core/script/yylex.l: At top level: grub_script.yy.c:2351:13: error: 'yy_fatal_error' defined but not used

Re: [PATCH] Strengthen the test for working -nostdinc -isystem

2012-08-05 Thread Grégoire Sutre
On 08/05/2012 12:02 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 01.08.2012 01:20, Grégoire Sutre wrote: This prevents configure from believing that -nostdinc -isystem works in some cases where it doesn't (NetBSD with non-native gcc 4.4). The patch simply adds the requirement that #incl

Re: [PATCH] Add gnulib's stpcpy.

2012-08-05 Thread Grégoire Sutre
On 08/05/2012 12:02 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 01.08.2012 01:26, Grégoire Sutre wrote: The attached patch adds gnulib's stpcpy. This is required on systems lacking stpcpy, e.g., NetBSD 5.1. Where do we need it? It may make more sense to just use grub_stpcpy in these

Re: [PATCH] Strengthen the test for working -nostdinc -isystem

2012-08-05 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 01.08.2012 01:20, Grégoire Sutre wrote: > This prevents configure from believing that -nostdinc -isystem > works in some cases where it doesn't (NetBSD with non-native > gcc 4.4). > > The patch simply adds the requirement that #include > works with -nostdinc -isystem. > Go ahead. > Grégoir

Re: [PATCH] Add gnulib's stpcpy.

2012-08-05 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 01.08.2012 01:26, Grégoire Sutre wrote: > The attached patch adds gnulib's stpcpy. This is required > on systems lacking stpcpy, e.g., NetBSD 5.1. > Where do we need it? It may make more sense to just use grub_stpcpy in these places. > Note: I used gnulib's sources from 2010-09-20, since th