icu4c: 58.2 -> 59.1
This commit is contained in:
parent
6e2744ab0f
commit
a9d2c56df2
@ -2,15 +2,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "icu4c";
|
pname = "icu4c";
|
||||||
version = "58.2";
|
version = "59.1";
|
||||||
|
|
||||||
# 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
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = pname + "-" + version;
|
name = pname + "-" + version;
|
||||||
@ -18,7 +10,7 @@ stdenv.mkDerivation {
|
|||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.icu-project.org/files/${pname}/${version}/${pname}-"
|
url = "http://download.icu-project.org/files/${pname}/${version}/${pname}-"
|
||||||
+ (stdenv.lib.replaceChars ["."] ["_"] version) + "-src.tgz";
|
+ (stdenv.lib.replaceChars ["."] ["_"] version) + "-src.tgz";
|
||||||
sha256 = "036shcb3f8bm1lynhlsb4kpjm9s9c2vdiir01vg216rs2l8482ib";
|
sha256 = "1zkmbg2932ggvpgjp8pys0cj6z8bw087y8858009shkrjfpzscki";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
@ -33,10 +25,6 @@ stdenv.mkDerivation {
|
|||||||
echo Source root reset to ''${sourceRoot}
|
echo Source root reset to ''${sourceRoot}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
patchFlags = "-p4";
|
|
||||||
|
|
||||||
patches = [ keywordFix ];
|
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -i -e "s|/bin/sh|${stdenv.shell}|" configure
|
sed -i -e "s|/bin/sh|${stdenv.shell}|" configure
|
||||||
'' + stdenv.lib.optionalString stdenv.isArm ''
|
'' + stdenv.lib.optionalString stdenv.isArm ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user