gnu: lcms: Incorporate grafted patch.

* gnu/packages/ghostscript.scm (lcms)[replacement]: Remove field.
[source]: Add patch 'lcms-fix-out-of-bounds-read.patch'.
(lcms/fixed): Remove variable.
master
Leo Famulari 2017-01-25 13:06:32 -05:00
parent 0086496042
commit 4158b1d123
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 1 additions and 9 deletions

View File

@ -39,12 +39,12 @@
(define-public lcms
(package
(name "lcms")
(replacement lcms/fixed)
(version "2.6")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/lcms/lcms/" version
"/lcms2-" version ".tar.gz"))
(patches (search-patches "lcms-fix-out-of-bounds-read.patch"))
(sha256 (base32
"1c8lgq8gfs3nyplvbx9k8wzfj6r2bqi3f611vb1m8z3476454wji"))))
(build-system gnu-build-system)
@ -59,14 +59,6 @@ Consortium standard (ICC), approved as ISO 15076-1.")
(license license:x11)
(home-page "http://www.littlecms.com/")))
(define lcms/fixed
(package
(inherit lcms)
(source
(origin
(inherit (package-source lcms))
(patches (search-patches "lcms-fix-out-of-bounds-read.patch"))))))
(define-public libpaper
(package
(name "libpaper")