sharutils: Fix building on Glibc 2.16
http://hydra.nixos.org/build/3046590
This commit is contained in:
parent
adc0b52545
commit
5833b2ee30
1 changed files with 7 additions and 0 deletions
|
@ -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 a new issue