icu: fix build with glibc-2.26
This commit is contained in:
parent
b0d193f596
commit
6c3bae563e
@ -25,6 +25,9 @@ stdenv.mkDerivation {
|
|||||||
echo Source root reset to ''${sourceRoot}
|
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;
|
inherit patchFlags patches;
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user