icu: fix build with glibc-2.26

This commit is contained in:
Vladimír Čunát
2017-11-06 17:05:33 +01:00
parent b0d193f596
commit 6c3bae563e

View File

@@ -25,6 +25,9 @@ stdenv.mkDerivation {
echo Source root reset to ''${sourceRoot}
'';
# https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27
postPatch = "substituteInPlace i18n/digitlst.cpp --replace '<xlocale.h>' '<locale.h>'";
inherit patchFlags patches;
preConfigure = ''