bison: update to version 2.6.5

This update fixes the grub-2.0 warning issue that was worked around in commit
4f5e655b36b61505fc1d1c4157e4f721a5e80a8a. Consequently, that patch is no longer
needed.

+3 -10
+2 -2
pkgs/development/tools/parsing/bison/default.nix
··· 1 { stdenv, fetchurl, m4, perl }: 2 3 stdenv.mkDerivation rec { 4 - name = "bison-2.6.4"; 5 6 src = fetchurl { 7 url = "mirror://gnu/bison/${name}.tar.xz"; 8 - sha256 = "e0c3179ed1a622d7ab9679d64b556a7722f9eb7fa32d568ce8f329f89cca52e9"; 9 }; 10 11 buildNativeInputs = [ m4 ] ++ stdenv.lib.optional doCheck perl;
··· 1 { stdenv, fetchurl, m4, perl }: 2 3 stdenv.mkDerivation rec { 4 + name = "bison-2.6.5"; 5 6 src = fetchurl { 7 url = "mirror://gnu/bison/${name}.tar.xz"; 8 + sha256 = "8640d5b51aad462db6863711f333a9159836853e0b1e79fdef708c6efb5cd52b"; 9 }; 10 11 buildNativeInputs = [ m4 ] ++ stdenv.lib.optional doCheck perl;
+1 -8
pkgs/tools/misc/grub/2.0x.nix
··· 49 sed -i '/gets is a security hole/d' grub-core/gnulib/stdio.in.h 50 ''; 51 52 - # Source code generated by bison 2.6.4 contains pragmas that trigger 53 - # warnings when built with -Wunknown-pragmas. Since Grub compiles with 54 - # -Werror, this causes the build to fail. We work around this issue by 55 - # ignoring pragma-related warnings, but clearly it would be better if 56 - # Bison wouldn't trigger that issue in the first place. A bug report 57 - # has been sent. 58 prePatch = 59 '' gunzip < "${unifont_bdf}" > "unifont.bdf" 60 sed -i "configure" \ 61 - -e "s|/usr/src/unifont.bdf|$PWD/unifont.bdf|g" \ 62 - -e "s|-Wunknown-pragmas|-Wno-pragmas|g" 63 ''; 64 65 configureFlags =
··· 49 sed -i '/gets is a security hole/d' grub-core/gnulib/stdio.in.h 50 ''; 51 52 prePatch = 53 '' gunzip < "${unifont_bdf}" > "unifont.bdf" 54 sed -i "configure" \ 55 + -e "s|/usr/src/unifont.bdf|$PWD/unifont.bdf|g" 56 ''; 57 58 configureFlags =