From 4158b1d1231b5c276022e0139a4050c174bd3997 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Wed, 25 Jan 2017 13:06:32 -0500 Subject: 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. --- gnu/packages/ghostscript.scm | 10 +--------- 1 file changed, 1 insertion(+), 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-module (gnu packages ghostscript) (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 @@ (define-public lcms (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") -- cgit v1.2.3