gnu: icu4c: Fetch from sourceforge.

* gnu/packages/icu4c.scm (icu4c): Download via sourceforge mirrors.  The
  previous URL,
  http://download.icu-project.org/files/icu4c/55.1/icu4c-55_1-src.tgz,
  redirects to sourceforge, which then fails because that redirects to
  https and as the original URL didn't start with HTTPS, gnutls wasn't
  included in the downloader.
This commit is contained in:
Andy Wingo 2016-02-19 14:33:57 +01:00
parent 5cc3096c73
commit d5df6fc755
1 changed files with 6 additions and 5 deletions

View File

@ -31,11 +31,12 @@
(version "55.1")
(source (origin
(method url-fetch)
(uri (string-append "http://download.icu-project.org/files/icu4c/"
version
"/icu4c-"
(string-map (lambda (x) (if (char=? x #\.) #\_ x)) version)
"-src.tgz"))
(uri (string-append
"mirror://sourceforge/icu/ICU4C/"
version
"/icu4c-"
(string-map (lambda (x) (if (char=? x #\.) #\_ x)) version)
"-src.tgz"))
(sha256
(base32 "0ys5f5spizg45qlaa31j2lhgry0jka2gfha527n4ndfxxz5j4sz1"))
(patches (map search-patch '("icu4c-CVE-2014-6585.patch"