grub: Fix build on Glibc 2.16

http://hydra.nixos.org/build/3046836
This commit is contained in:
Eelco Dolstra 2012-09-21 10:36:13 -04:00
parent 5d859baf59
commit c4041d9c39

View File

@ -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 =