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"; 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 = '' configurePhase = ''
sed \ sed \