gnu: lcms: Incorporate grafted changes.

* gnu/packages/ghostscript.scm (lcms)[replacement]: Remove.
[source](patches): New field.
(lcms/fixed): Remove variable.
This commit is contained in:
Marius Bakke 2019-04-08 01:14:20 +02:00
parent c078f1b08b
commit 50943b4878
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 2 additions and 9 deletions

View File

@ -47,12 +47,13 @@
(define-public lcms (define-public lcms
(package (package
(name "lcms") (name "lcms")
(replacement lcms/fixed)
(version "2.9") (version "2.9")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://sourceforge/lcms/lcms/" version (uri (string-append "mirror://sourceforge/lcms/lcms/" version
"/lcms2-" version ".tar.gz")) "/lcms2-" version ".tar.gz"))
(patches (search-patches "lcms-CVE-2018-16435.patch"))
(sha256 (base32 (sha256 (base32
"083xisy6z01zhm7p7rgk4bx9d6zlr8l20qkfv1g29ylnhgwzvij8")))) "083xisy6z01zhm7p7rgk4bx9d6zlr8l20qkfv1g29ylnhgwzvij8"))))
(build-system gnu-build-system) (build-system gnu-build-system)
@ -68,14 +69,6 @@ Consortium standard (ICC), approved as ISO 15076-1.")
(home-page "http://www.littlecms.com/") (home-page "http://www.littlecms.com/")
(properties '((cpe-name . "little_cms_color_engine"))))) (properties '((cpe-name . "little_cms_color_engine")))))
(define lcms/fixed
(package
(inherit lcms)
(source
(origin
(inherit (package-source lcms))
(patches (search-patches "lcms-CVE-2018-16435.patch"))))))
(define-public libpaper (define-public libpaper
(package (package
(name "libpaper") (name "libpaper")