aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-01-25 13:06:32 -0500
committerLeo Famulari <leo@famulari.name>2017-01-25 13:23:26 -0500
commit4158b1d1231b5c276022e0139a4050c174bd3997 (patch)
treef5c35f287aadb0537fd499c28fb23a1fd6862e16
parent008649604296307682955d4c0da2525b606b7134 (diff)
downloadpatches-4158b1d1231b5c276022e0139a4050c174bd3997.tar
patches-4158b1d1231b5c276022e0139a4050c174bd3997.tar.gz
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.
-rw-r--r--gnu/packages/ghostscript.scm10
1 files changed, 1 insertions, 9 deletions
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm
index 7c217d903b..dcbed69e3e 100644
--- a/gnu/packages/ghostscript.scm
+++ b/gnu/packages/ghostscript.scm
@@ -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")