forked from mirrors/nixpkgs
icu: fix build with glibc-2.26
This commit is contained in:
parent
b0d193f596
commit
6c3bae563e
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue