summary refs log tree commit diff
path: root/pkgs/development/libraries/icu
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-11-06 17:05:33 +0100
committerVladimír Čunát <vcunat@gmail.com>2017-11-06 17:05:33 +0100
commit6c3bae563e9e046e4d6d4a89cac10d5a0be34e40 (patch)
treebd6c1be2411fd87cc6add3aab47ccbc9f80d8b2c /pkgs/development/libraries/icu
parentb0d193f596d055b69435ece4b3cea0fb3d06dde5 (diff)
downloadnixpkgs-6c3bae563e9e046e4d6d4a89cac10d5a0be34e40.tar
nixpkgs-6c3bae563e9e046e4d6d4a89cac10d5a0be34e40.tar.gz
nixpkgs-6c3bae563e9e046e4d6d4a89cac10d5a0be34e40.tar.bz2
nixpkgs-6c3bae563e9e046e4d6d4a89cac10d5a0be34e40.tar.lz
nixpkgs-6c3bae563e9e046e4d6d4a89cac10d5a0be34e40.tar.xz
nixpkgs-6c3bae563e9e046e4d6d4a89cac10d5a0be34e40.tar.zst
nixpkgs-6c3bae563e9e046e4d6d4a89cac10d5a0be34e40.zip
icu: fix build with glibc-2.26
Diffstat (limited to 'pkgs/development/libraries/icu')
-rw-r--r--pkgs/development/libraries/icu/base.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/icu/base.nix b/pkgs/development/libraries/icu/base.nix
index 78e0c574044..b12e76a90a9 100644
--- a/pkgs/development/libraries/icu/base.nix
+++ b/pkgs/development/libraries/icu/base.nix
@@ -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 = ''