guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/05: gnu: gd: Incorporate grafted changes.


From: guix-commits
Subject: 04/05: gnu: gd: Incorporate grafted changes.
Date: Sat, 23 Feb 2019 15:25:54 -0500 (EST)

mbakke pushed a commit to branch core-updates
in repository guix.

commit db91596a78cf463056b7304b4fc9e2b19ba042fb
Author: Marius Bakke <address@hidden>
Date:   Sat Feb 23 19:32:16 2019 +0100

    gnu: gd: Incorporate grafted changes.
    
    * gnu/packages/gd.scm (gd)[replacement]: Remove.
    [source](patches): Add gd-CVE-2019-6977.patch and gd-CVE-2019-6978.patch.
    (gd/fixed): Remove variable.
---
 gnu/packages/gd.scm | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/gd.scm b/gnu/packages/gd.scm
index c08c1f6..2012a38 100644
--- a/gnu/packages/gd.scm
+++ b/gnu/packages/gd.scm
@@ -39,7 +39,6 @@
 (define-public gd
   (package
     (name "gd")
-    (replacement gd/fixed)
     ;; Note: With libgd.org now pointing to github.com, genuine old
     ;; tarballs are no longer available.  Notably, versions 2.0.x are
     ;; missing.
@@ -55,6 +54,8 @@
 
              (patches (search-patches "gd-CVE-2018-5711.patch"
                                       "gd-CVE-2018-1000222.patch"
+                                      "gd-CVE-2019-6977.patch"
+                                      "gd-CVE-2019-6978.patch"
                                       "gd-fix-tests-on-i686.patch"
                                       "gd-freetype-test-failure.patch"))))
     (build-system gnu-build-system)
@@ -95,16 +96,6 @@ most common applications of GD involve website development.")
                            "See COPYING file in the distribution."))
     (properties '((cpe-name . "libgd")))))
 
-(define-public gd/fixed
-  (hidden-package
-    (package
-      (inherit gd)
-      (source (origin
-                (inherit (package-source gd))
-                (patches (append (origin-patches (package-source gd))
-                                 (search-patches "gd-CVE-2019-6977.patch"
-                                                 
"gd-CVE-2019-6978.patch"))))))))
-
 (define-public perl-gd
   (package
     (name "perl-gd")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]