summaryrefslogtreecommitdiff
path: root/gnu/packages/ghostscript.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-07-24 20:42:48 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-07-24 20:42:48 +0200
commit99cfdfb10c7bf42911f2ff59ef3489761ebc063d (patch)
tree2ac8b22c52754ac9667770e63209b3a184a626b8 /gnu/packages/ghostscript.scm
parent5a0b3c34088d36ac03e705dea573f62f84d96f11 (diff)
gnu: ghostscript: Incorporate grafted changes.
* gnu/packages/ghostscript.scm (ghostscript)[replacement]: Remove field. (source)[patches]: Add 'ghostscript-CVE-2018-10194.patch'. (ghostscript/fixed): Remove variable.
Diffstat (limited to 'gnu/packages/ghostscript.scm')
-rw-r--r--gnu/packages/ghostscript.scm12
1 files changed, 1 insertions, 11 deletions
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm
index bc14fd0be00..cd7cd604fd5 100644
--- a/gnu/packages/ghostscript.scm
+++ b/gnu/packages/ghostscript.scm
@@ -132,7 +132,6 @@ printing, and psresize, for adjusting page sizes.")
132(define-public ghostscript 132(define-public ghostscript
133 (package 133 (package
134 (name "ghostscript") 134 (name "ghostscript")
135 (replacement ghostscript/fixed)
136 (version "9.23") 135 (version "9.23")
137 (source 136 (source
138 (origin 137 (origin
@@ -145,6 +144,7 @@ printing, and psresize, for adjusting page sizes.")
145 (base32 144 (base32
146 "1ng8d9fm5lza7k1f7ybc791275c07z5hcmpkrl2i226nshkxrkhz")) 145 "1ng8d9fm5lza7k1f7ybc791275c07z5hcmpkrl2i226nshkxrkhz"))
147 (patches (search-patches "ghostscript-runpath.patch" 146 (patches (search-patches "ghostscript-runpath.patch"
147 "ghostscript-CVE-2018-10194.patch"
148 "ghostscript-no-header-creationdate.patch" 148 "ghostscript-no-header-creationdate.patch"
149 "ghostscript-no-header-id.patch" 149 "ghostscript-no-header-id.patch"
150 "ghostscript-no-header-uuid.patch")) 150 "ghostscript-no-header-uuid.patch"))
@@ -251,16 +251,6 @@ output file formats and printers.")
251 (home-page "https://www.ghostscript.com/") 251 (home-page "https://www.ghostscript.com/")
252 (license license:agpl3+))) 252 (license license:agpl3+)))
253 253
254(define-public ghostscript/fixed
255 (hidden-package
256 (package
257 (inherit ghostscript)
258 (source
259 (origin
260 (inherit (package-source ghostscript))
261 (patches (append (origin-patches (package-source ghostscript))
262 (search-patches "ghostscript-CVE-2018-10194.patch"))))))))
263
264(define-public ghostscript/x 254(define-public ghostscript/x
265 (package/inherit ghostscript 255 (package/inherit ghostscript
266 (name (string-append (package-name ghostscript) "-with-x")) 256 (name (string-append (package-name ghostscript) "-with-x"))