diff options
author | Leo Famulari <leo@famulari.name> | 2020-03-25 14:25:18 -0400 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2020-03-25 17:53:59 -0400 |
commit | 7d57a190f6896c04b5dad66bf4360bc48a4052ff (patch) | |
tree | 175357cfaf4f47b3293215f42fbafc81a6c236e9 /gnu/packages/icu4c.scm | |
parent | 0c549393b9b9194f47fbee2bdfa1caf8f4e32b12 (diff) | |
download | patches-7d57a190f6896c04b5dad66bf4360bc48a4052ff.tar patches-7d57a190f6896c04b5dad66bf4360bc48a4052ff.tar.gz |
gnu: icu4c: Fix CVE-2020-10531.
* gnu/packages/patches/icu4c-CVE-2020-10531.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/icu4c.scm (icu4c)[replacement]: New field.
(icu4c/fixed): New variable.
Diffstat (limited to 'gnu/packages/icu4c.scm')
-rw-r--r-- | gnu/packages/icu4c.scm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm index 922dfbd348..bc74da5942 100644 --- a/gnu/packages/icu4c.scm +++ b/gnu/packages/icu4c.scm @@ -56,6 +56,7 @@ (define-public icu4c (package (name "icu4c") + (replacement icu4c/fixed) (version "64.2") (source (origin (method url-fetch) @@ -105,6 +106,16 @@ C/C++ part.") (license x11) (home-page "http://site.icu-project.org/"))) +(define icu4c/fixed + (package + (inherit icu4c) + (source (origin + (inherit (package-source icu4c)) + (patches (append + (origin-patches (package-source icu4c)) + (search-patches + "icu4c-CVE-2020-10531.patch"))))))) + (define-public java-icu4j (package (name "java-icu4j") |