nixpkgs/pkgs/tools
Tuomas Tynkkynen be2a2db0f1 grub2: Workaround flex bug
I think the flex update in 6bded45883
causes this failure, presumably due to upstream breakage:

````
gcc -DHAVE_CONFIG_H -I.  -Wall -W -DGRUB_UTIL=1 -D_FILE_OFFSET_BITS=64 -I./include -DGRUB_FILE=\"grub_script.yy.c\" -I. -I. -I. -I. -I./include -I./include -I./grub-core/lib/libgcrypt-grub/src/  -I./grub-core/lib/minilzo -I./grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -Wall -W -Wshadow -Wpointer-arith -Wundef -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-braces -Wmissing-format-attribute -Wmultichar -Wparentheses -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wswitch -Wtrigraphs -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value  -Wunused-variable -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wcast-align  -Wextra -Wattributes -Wendif-labels -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initializers -Wnonnull -Woverflow -Wvla -Wpointer-to-int-cast -Wstrict-aliasing -Wvariadic-macros -Wvolatile-register-var -Wpointer-sign -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-declarations -Wformat=2 -Werror  -fno-builtin -Wno-undef  -c -o libgrubmods_a-grub_script.yy.o `test -f 'grub_script.yy.c' || echo './'`grub_script.yy.c
./grub-core/script/yylex.l:34:0: error: "yyalloc" redefined [-Werror]
 #define yyalloc(size, scanner)   (grub_malloc((size)))
 ^
grub_script.yy.c:104:0: note: this is the location of the previous definition

 ^
./grub-core/script/yylex.l:35:0: error: "yyfree" redefined [-Werror]
 #define yyfree(ptr, scanner)   (grub_free((ptr)))
 ^
grub_script.yy.c:108:0: note: this is the location of the previous definition

 ^
./grub-core/script/yylex.l:36:0: error: "yyrealloc" redefined [-Werror]
 #define yyrealloc(ptr, size, scanner) (grub_realloc((ptr), (size)))
 ^
grub_script.yy.c:106:0: note: this is the location of the previous definition

 ^
cc1: all warnings being treated as errors
make[2]: *** [Makefile:7540: libgrubmods_a-grub_script.yy.o] Error 1
````

Work around it for now.
2017-01-05 12:53:43 +02:00
..
admin salt: fix patch after upstream code change 2016-12-23 12:29:35 +01:00
archivers Merge pull request #21231 from abbradar/no-fmod 2016-12-18 00:29:46 +03:00
audio beets: add missing dependency six, fixes #20946 2016-12-06 16:48:56 +01:00
backup borgbackup: cleanup inputs 2016-12-31 21:58:41 +01:00
bluetooth blueman: use "with" expression for variable 2016-12-04 15:14:06 +01:00
bootloaders/refind refind: refactorings 2016-09-01 14:51:32 +02:00
cd-dvd nrg2iso: init at 0.4.0 2016-12-21 16:29:34 +02:00
compression lrzip: 0.630 -> 0.631 2017-01-02 20:18:50 +01:00
filesystems glusterfs: 3.8.4 -> 3.9.0 2017-01-02 20:18:49 +01:00
graphics graphviz: 2.38.0 -> 2.40.1 2017-01-02 20:18:48 +01:00
inputmethods ibus-engines.uniemoji: 2016-09-20 -> 0.6.0 2016-10-16 01:42:09 +03:00
misc grub2: Workaround flex bug 2017-01-05 12:53:43 +02:00
networking Merge branch 'master' into staging 2017-01-04 01:42:26 +01:00
package-management nox: 0.0.4 -> 0.0.5 2017-01-04 15:31:41 +01:00
security kpcli: 3.0 -> 3.1 2017-01-04 22:29:27 +01:00
system chase: correct download URL 2017-01-04 06:43:06 -05:00
text gnused: 4.2.2 -> 4.3 2017-01-05 00:17:59 +01:00
typesetting rubber: use python2 2016-11-24 22:28:03 +01:00
video treewide: Fix more 'lib.optional' misuses 2016-10-02 00:44:10 +03:00
virtualization euca2ools: use python2 2016-11-24 22:28:02 +01:00
X11 xdg_utils: mimiSupport: update to the latest master 2017-01-04 15:01:46 +01:00