diff options
author | Clément Lassieur <clement@lassieur.org> | 2017-04-11 22:59:44 +0200 |
---|---|---|
committer | Clément Lassieur <clement@lassieur.org> | 2017-04-17 20:41:16 +0200 |
commit | a408e757663a1f2cb075a9918bb49708906aaca4 (patch) | |
tree | 85e811165602b1ca5c5b1e50517be333b89ff564 /gnu/packages/icu4c.scm | |
parent | c04ef86e8114225f5e5859f379582ba6f69aacfb (diff) | |
download | patches-a408e757663a1f2cb075a9918bb49708906aaca4.tar patches-a408e757663a1f2cb075a9918bb49708906aaca4.tar.gz |
gnu: icu4c: Fix crashes in programs using system ICU.
Fixes <http://bugs.gnu.org/26462>.
* gnu/packages/patches/icu4c-reset-keyword-list-iterator.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 d842f03b4e..2b51441002 100644 --- a/gnu/packages/icu4c.scm +++ b/gnu/packages/icu4c.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -30,6 +31,7 @@ (package (name "icu4c") (version "58.2") + (replacement icu4c/fixed) (source (origin (method url-fetch) (uri (string-append @@ -63,3 +65,12 @@ globalisation support for software applications. This package contains the C/C++ part.") (license x11) (home-page "http://site.icu-project.org/"))) + +(define icu4c/fixed + (package + (inherit icu4c) + (replacement #f) + (source (origin + (inherit (package-source icu4c)) + (patches + (search-patches "icu4c-reset-keyword-list-iterator.patch")))))) |