icu: fix crash in firefox

Fixes #23857
This commit is contained in:
David McFarland 2017-03-15 08:49:36 -03:00
parent c037f54ffb
commit 1ea6860cc7

View file

@ -3,6 +3,14 @@
let
pname = "icu4c";
version = "58.2";
# this patch should no longer be needed in 58.3
# https://bugs.gentoo.org/show_bug.cgi?id=599142#c14
keywordFix = fetchurl {
url = "http://bugs.icu-project.org/trac/changeset/39484?format=diff";
name = "icu-changeset-39484.diff";
sha256 = "0hxhpgydalyxacaaxlmaddc1sjwh65rsnpmg0j414mnblq74vmm8";
};
in
stdenv.mkDerivation ({
name = pname + "-" + version;
@ -32,6 +40,7 @@ stdenv.mkDerivation ({
'';
postPatch = ''
popd
patch -p4 < ${keywordFix}
'';
patches = [