3
0
Fork 0
forked from mirrors/nixpkgs

sharutils: Fix building on Glibc 2.16

http://hydra.nixos.org/build/3046590
This commit is contained in:
Eelco Dolstra 2012-09-21 10:49:26 -04:00
parent adc0b52545
commit 5833b2ee30

View file

@ -8,6 +8,13 @@ stdenv.mkDerivation rec {
sha256 = "1mallg1gprimlggdisfzdmh1xi676jsfdlfyvanlcw72ny8fsj3g";
};
preConfigure =
''
# Fix for building on Glibc 2.16. Won't be needed once the
# gnulib in sharutils is updated.
sed -i '/gets is a security hole/d' lib/stdio.in.h
'';
# GNU Gettext is needed on non-GNU platforms.
buildInputs = [ gettext ];