diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-09-21 10:36:13 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-09-21 10:36:40 -0400 |
commit | c4041d9c395c0492027fd6b686f5ba493f3bec1d (patch) | |
tree | 3912c994d92fd99d57a8891ba90fdca95f02212d /pkgs/tools/misc/grub/2.0x.nix | |
parent | 5d859baf59689e5bb18632e5c3cdb21ac39262db (diff) | |
download | nixpkgs-c4041d9c395c0492027fd6b686f5ba493f3bec1d.tar nixpkgs-c4041d9c395c0492027fd6b686f5ba493f3bec1d.tar.gz nixpkgs-c4041d9c395c0492027fd6b686f5ba493f3bec1d.tar.bz2 nixpkgs-c4041d9c395c0492027fd6b686f5ba493f3bec1d.tar.lz nixpkgs-c4041d9c395c0492027fd6b686f5ba493f3bec1d.tar.xz nixpkgs-c4041d9c395c0492027fd6b686f5ba493f3bec1d.tar.zst nixpkgs-c4041d9c395c0492027fd6b686f5ba493f3bec1d.zip |
grub: Fix build on Glibc 2.16
http://hydra.nixos.org/build/3046836
Diffstat (limited to 'pkgs/tools/misc/grub/2.0x.nix')
-rw-r--r-- | pkgs/tools/misc/grub/2.0x.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/tools/misc/grub/2.0x.nix b/pkgs/tools/misc/grub/2.0x.nix index 4186a440535..e85e8de3dd8 100644 --- a/pkgs/tools/misc/grub/2.0x.nix +++ b/pkgs/tools/misc/grub/2.0x.nix @@ -4,14 +4,14 @@ let prefix = "grub${if EFIsupport then "-efi" else ""}"; - + version = "2.00"; - + unifont_bdf = fetchurl { url = "http://unifoundry.com/unifont-5.1.20080820.bdf.gz"; sha256 = "0s0qfff6n6282q28nwwblp5x295zd6n71kl43xj40vgvdqxv0fxx"; }; - + in stdenv.mkDerivation rec { @@ -43,6 +43,10 @@ stdenv.mkDerivation rec { # See <http://www.mail-archive.com/qemu-devel@nongnu.org/msg22775.html>. sed -i "tests/util/grub-shell.in" \ -e's/qemu-system-i386/qemu-system-x86_64 -nodefaults/g' + + # Fix for building on Glibc 2.16. Won't be needed once the + # gnulib in grub is updated. + sed -i '/gets is a security hole/d' grub-core/gnulib/stdio.in.h ''; prePatch = |