summary refs log tree commit diff
path: root/gnu/packages/php.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-09-10 01:30:06 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-09-10 01:39:01 +0200
commit68a08dfbe53301fb5c15470b52185e0578b5293e (patch)
tree8bb016e1ae7684e8fdb5b857cb8a9a185eb72353 /gnu/packages/php.scm
parentfe79ce3b1f34300ff3bb94238462323f887c93be (diff)
downloadguix-68a08dfbe53301fb5c15470b52185e0578b5293e.tar.gz
gnu: libgd: Incorporate grafted changes.
* gnu/packages/gd.scm (gd)[replacement]: Remove field.
[source](patches): Add "gd-CVE-2018-5711.patch" and
"gd-CVE-2018-1000222.patch".
(gd/fixed): Remove variable.
* gnu/packages/php.scm (gd-for-php): Remove variable.
(php)[inputs]: Change GD-FOR-PHP to GD.
Diffstat (limited to 'gnu/packages/php.scm')
-rw-r--r--gnu/packages/php.scm12
1 files changed, 1 insertions, 11 deletions
diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm
index 4981c60554..0efbec8057 100644
--- a/gnu/packages/php.scm
+++ b/gnu/packages/php.scm
@@ -50,16 +50,6 @@
   #:use-module (guix build-system gnu)
   #:use-module ((guix licenses) #:prefix license:))
 
-(define gd-for-php
-  (package
-    (inherit gd)
-    (source (origin
-             (inherit (package-source gd))
-             (patches (search-patches "gd-fix-tests-on-i686.patch"
-                                      "gd-freetype-test-failure.patch"
-                                      "gd-CVE-2018-5711.patch"
-                                      "gd-CVE-2018-1000222.patch"))))))
-
 (define-public php
   (package
     (name "php")
@@ -312,7 +302,7 @@
        ("curl" ,curl)
        ("cyrus-sasl" ,cyrus-sasl)
        ("freetype" ,freetype)
-       ("gd" ,gd-for-php)
+       ("gd" ,gd)
        ("gdbm" ,gdbm)
        ("glibc" ,glibc)
        ("gmp" ,gmp)