mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: cairo: Absorb grafted replacement.
* gnu/packages/gtk.scm (cairo)[source]: Use cairo-CVE-2018-19876.patch and cairo-CVE-2020-35492.patch. [replacement]: Remove field. (cairo/fixed): Remove variable.
This commit is contained in:
parent
a456b09c43
commit
d178039a07
1 changed files with 2 additions and 10 deletions
|
@ -125,11 +125,12 @@ (define-public cairo
|
|||
(package
|
||||
(name "cairo")
|
||||
(version "1.16.0")
|
||||
(replacement cairo/fixed)
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://cairographics.org/releases/cairo-"
|
||||
version ".tar.xz"))
|
||||
(patches (search-patches "cairo-CVE-2018-19876.patch"
|
||||
"cairo-CVE-2020-35492.patch"))
|
||||
(sha256
|
||||
(base32
|
||||
"0c930mk5xr2bshbdljv005j3j8zr47gqmkry3q6qgvqky6rjjysy"))))
|
||||
|
@ -176,15 +177,6 @@ (define-public cairo
|
|||
(license license:lgpl2.1) ; or Mozilla Public License 1.1
|
||||
(home-page "https://cairographics.org/")))
|
||||
|
||||
(define cairo/fixed
|
||||
(package
|
||||
(inherit cairo)
|
||||
(source (origin
|
||||
(inherit (package-source cairo))
|
||||
(patches (append (search-patches "cairo-CVE-2018-19876.patch"
|
||||
"cairo-CVE-2020-35492.patch")
|
||||
(origin-patches (package-source cairo))))))))
|
||||
|
||||
(define-public cairo-sans-poppler
|
||||
;; Variant used to break the dependency cycle between Poppler and Cairo.
|
||||
(package/inherit cairo
|
||||
|
|
Loading…
Reference in a new issue