mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
gnu: libtiff: Ungraft.
* gnu/packages/image.scm (libtiff)[replacement]: Remove field. [source]: Add patches from former replacement. (libtiff/fixed): Remove variable.
This commit is contained in:
parent
a5f2b44367
commit
4e1435be0b
1 changed files with 3 additions and 13 deletions
|
@ -392,7 +392,6 @@ (define-public libtiff
|
||||||
(package
|
(package
|
||||||
(name "libtiff")
|
(name "libtiff")
|
||||||
(version "4.0.9")
|
(version "4.0.9")
|
||||||
(replacement libtiff/fixed)
|
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -400,7 +399,9 @@ (define-public libtiff
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1kfg4q01r4mqn7dj63ifhi6pmqzbf4xax6ni6kkk81ri5kndwyvf"))))
|
"1kfg4q01r4mqn7dj63ifhi6pmqzbf4xax6ni6kkk81ri5kndwyvf"))
|
||||||
|
(patches (search-patches "libtiff-CVE-2017-9935.patch"
|
||||||
|
"libtiff-CVE-2017-18013.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(outputs '("out"
|
(outputs '("out"
|
||||||
"doc")) ;1.3 MiB of HTML documentation
|
"doc")) ;1.3 MiB of HTML documentation
|
||||||
|
@ -422,17 +423,6 @@ (define-public libtiff
|
||||||
"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
|
|
||||||
(append (origin-patches (package-source libtiff))
|
|
||||||
(search-patches "libtiff-CVE-2017-9935.patch"
|
|
||||||
"libtiff-CVE-2017-18013.patch")))))))
|
|
||||||
|
|
||||||
(define-public leptonica
|
(define-public leptonica
|
||||||
(package
|
(package
|
||||||
(name "leptonica")
|
(name "leptonica")
|
||||||
|
|
Loading…
Reference in a new issue