aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/pdf.scm
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2016-04-29 03:31:41 -0400
committerLeo Famulari <leo@famulari.name>2016-04-30 16:14:38 -0400
commite411ce186021540770c389ec13b7b5b42252c4bb (patch)
tree62264de11a87c1c3e9579d8647d4189be394fd82 /gnu/packages/pdf.scm
parentc7794307f1bb99a68d93840a74fda7a64189a381 (diff)
downloadguix-e411ce186021540770c389ec13b7b5b42252c4bb.tar
guix-e411ce186021540770c389ec13b7b5b42252c4bb.tar.gz
gnu: poppler: Fix CVE-2015-8868.
* gnu/packages/pdf.scm (poppler)[replacement]: New field. (poppler/fixed): New variable. * gnu/packages/patches/poppler-CVE-2015-8868.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/pdf.scm')
-rw-r--r--gnu/packages/pdf.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 1d33be85d5..8f9f5dd503 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -53,6 +53,7 @@
(package
(name "poppler")
(version "0.37.0")
+ (replacement poppler/fixed)
(source (origin
(method url-fetch)
(uri (string-append "https://poppler.freedesktop.org/poppler-"
@@ -104,6 +105,13 @@
(license license:gpl2+)
(home-page "http://poppler.freedesktop.org/")))
+(define poppler/fixed
+ (package
+ (inherit poppler)
+ (source (origin
+ (inherit (package-source poppler))
+ (patches (search-patches "poppler-CVE-2015-8868.patch"))))))
+
(define-public poppler-qt4
(package (inherit poppler)
(name "poppler-qt4")