summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-07-24 20:44:40 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-07-24 20:44:40 +0200
commit41e2e58a2afce2ad55f1f90374d9f92af27f3d6c (patch)
tree2fabd237c277bf6be9be20714883a8a68bcb6293
parent99cfdfb10c7bf42911f2ff59ef3489761ebc063d (diff)
downloadguix-41e2e58a2afce2ad55f1f90374d9f92af27f3d6c.tar.gz
gnu: libtiff: Incorporate grafted changes.
* gnu/packages/image.scm (libtiff)[replacement]: Remove field.
[source](patches): Add 'libtiff-CVE-2018-8905.patch' and
'libtiff-CVE-2018-10963.patch'.
(libtiff/fixed): Remove variable.
-rw-r--r--gnu/packages/image.scm16
1 files changed, 3 insertions, 13 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index a330a31599..1c3a2b7d2b 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -394,7 +394,6 @@ extracting icontainer icon files.")
 (define-public libtiff
   (package
    (name "libtiff")
-   (replacement libtiff/fixed)
    (version "4.0.9")
    (source
      (origin
@@ -405,7 +404,9 @@ extracting icontainer icon files.")
         (base32
          "1kfg4q01r4mqn7dj63ifhi6pmqzbf4xax6ni6kkk81ri5kndwyvf"))
        (patches (search-patches "libtiff-CVE-2017-9935.patch"
-                                "libtiff-CVE-2017-18013.patch"))))
+                                "libtiff-CVE-2017-18013.patch"
+                                "libtiff-CVE-2018-8905.patch"
+                                "libtiff-CVE-2018-10963.patch"))))
    (build-system gnu-build-system)
    (outputs '("out"
               "doc"))                           ;1.3 MiB of HTML documentation
@@ -427,17 +428,6 @@ collection of tools for doing simple manipulations of TIFF images.")
                                   "See COPYRIGHT in the distribution."))
    (home-page "http://www.simplesystems.org/libtiff/")))
 
-(define libtiff/fixed
-  (package
-    (inherit libtiff)
-    (source
-      (origin
-        (inherit (package-source libtiff))
-        (patches
-          (append (origin-patches (package-source libtiff))
-                  (search-patches "libtiff-CVE-2018-8905.patch"
-                                  "libtiff-CVE-2018-10963.patch")))))))
-
 (define-public leptonica
   (package
     (name "leptonica")