mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
live555: fixup build with glibc-2.26
This commit is contained in:
parent
30c971e8d3
commit
7ba482a74a
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue