mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
sharutils: Fix building on Glibc 2.16
http://hydra.nixos.org/build/3046590
This commit is contained in:
parent
adc0b52545
commit
5833b2ee30
@ -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 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user