gnu: libtiff: Incorporate grafted patches.
* gnu/packages/image.scm (libtiff)[replacement]: Remove field. [source]: Add patches from libtiff/fixed. (libtiff/fixed): Remove variable.
This commit is contained in:
parent
9b1bb70904
commit
29705bc29f
|
@ -250,12 +250,27 @@ extracting icontainer icon files.")
|
||||||
(define-public libtiff
|
(define-public libtiff
|
||||||
(package
|
(package
|
||||||
(name "libtiff")
|
(name "libtiff")
|
||||||
(replacement libtiff/fixed)
|
|
||||||
(version "4.0.7")
|
(version "4.0.7")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "ftp://download.osgeo.org/libtiff/tiff-"
|
(uri (string-append "ftp://download.osgeo.org/libtiff/tiff-"
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
|
(patches (search-patches "libtiff-heap-overflow-tiffcp.patch"
|
||||||
|
"libtiff-null-dereference.patch"
|
||||||
|
"libtiff-heap-overflow-tif-dirread.patch"
|
||||||
|
"libtiff-heap-overflow-pixarlog-luv.patch"
|
||||||
|
"libtiff-divide-by-zero.patch"
|
||||||
|
"libtiff-divide-by-zero-ojpeg.patch"
|
||||||
|
"libtiff-tiffcp-underflow.patch"
|
||||||
|
"libtiff-invalid-read.patch"
|
||||||
|
"libtiff-CVE-2016-10092.patch"
|
||||||
|
"libtiff-heap-overflow-tiffcrop.patch"
|
||||||
|
"libtiff-divide-by-zero-tiffcrop.patch"
|
||||||
|
"libtiff-CVE-2016-10093.patch"
|
||||||
|
"libtiff-divide-by-zero-tiffcp.patch"
|
||||||
|
"libtiff-assertion-failure.patch"
|
||||||
|
"libtiff-CVE-2016-10094.patch"
|
||||||
|
"libtiff-CVE-2017-5225.patch"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"06ghqhr4db1ssq0acyyz49gr8k41gzw6pqb6mbn5r7jqp77s4hwz"))))
|
"06ghqhr4db1ssq0acyyz49gr8k41gzw6pqb6mbn5r7jqp77s4hwz"))))
|
||||||
|
@ -283,29 +298,6 @@ collection of tools for doing simple manipulations of TIFF images.")
|
||||||
"See COPYRIGHT in the distribution."))
|
"See COPYRIGHT in the distribution."))
|
||||||
(home-page "http://www.simplesystems.org/libtiff/")))
|
(home-page "http://www.simplesystems.org/libtiff/")))
|
||||||
|
|
||||||
(define libtiff/fixed
|
|
||||||
(package
|
|
||||||
(inherit libtiff)
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(inherit (package-source libtiff))
|
|
||||||
(patches (search-patches "libtiff-heap-overflow-tiffcp.patch"
|
|
||||||
"libtiff-null-dereference.patch"
|
|
||||||
"libtiff-heap-overflow-tif-dirread.patch"
|
|
||||||
"libtiff-heap-overflow-pixarlog-luv.patch"
|
|
||||||
"libtiff-divide-by-zero.patch"
|
|
||||||
"libtiff-divide-by-zero-ojpeg.patch"
|
|
||||||
"libtiff-tiffcp-underflow.patch"
|
|
||||||
"libtiff-invalid-read.patch"
|
|
||||||
"libtiff-CVE-2016-10092.patch"
|
|
||||||
"libtiff-heap-overflow-tiffcrop.patch"
|
|
||||||
"libtiff-divide-by-zero-tiffcrop.patch"
|
|
||||||
"libtiff-CVE-2016-10093.patch"
|
|
||||||
"libtiff-divide-by-zero-tiffcp.patch"
|
|
||||||
"libtiff-assertion-failure.patch"
|
|
||||||
"libtiff-CVE-2016-10094.patch"
|
|
||||||
"libtiff-CVE-2017-5225.patch"))))))
|
|
||||||
|
|
||||||
(define-public libwmf
|
(define-public libwmf
|
||||||
(package
|
(package
|
||||||
(name "libwmf")
|
(name "libwmf")
|
||||||
|
|
Loading…
Reference in New Issue