1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

live555: fixup build with glibc-2.26

This commit is contained in:
Vladimír Čunát 2017-11-07 07:27:32 +01:00
parent 30c971e8d3
commit 7ba482a74a
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -12,7 +12,12 @@ stdenv.mkDerivation {
sha256 = "02z2f8z5cy0ajnh9pgar40lsxdknfw5cbyw52138hxnpr6adrvak";
};
postPatch = "sed 's,/bin/rm,rm,g' -i genMakefiles";
postPatch = "sed 's,/bin/rm,rm,g' -i genMakefiles"
+ stdenv.lib.optionalString (stdenv ? glibc) ''
substituteInPlace liveMedia/include/Locale.hh \
--replace '<xlocale.h>' '<locale.h>'
'';
configurePhase = ''
sed \