diff options
author | Mark H Weaver <mhw@netris.org> | 2017-08-06 00:23:20 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2017-08-06 00:23:20 -0400 |
commit | f167595ba1a4e0e419adc17de6af275bedf32822 (patch) | |
tree | 6a582fbda8ad9d72962359add99e5ae219dd030d /gnu/packages/php.scm | |
parent | e3df6938acc2ba2d2f7333d911b8bdc3697f0f75 (diff) | |
parent | 01a61d7040b1794f36547b107abce6e967d59f21 (diff) | |
download | guix-f167595ba1a4e0e419adc17de6af275bedf32822.tar guix-f167595ba1a4e0e419adc17de6af275bedf32822.tar.gz |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/php.scm')
-rw-r--r-- | gnu/packages/php.scm | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm index 7d569eef3e..d0afab0931 100644 --- a/gnu/packages/php.scm +++ b/gnu/packages/php.scm @@ -49,10 +49,21 @@ #: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 + (append + (origin-patches (package-source gd)) + (search-patches "gd-CVE-2017-7890.patch"))))))) + + (define-public php (package (name "php") - (version "7.1.6") + (version "7.1.8") (home-page "https://secure.php.net/") (source (origin (method url-fetch) @@ -60,7 +71,7 @@ name "-" version ".tar.xz")) (sha256 (base32 - "0nr49gqhk4pv8kcdc60cl1mgwlinawpraq9ba15whzmb472lsn01")) + "1aramb6dm57pr2iz61id9vzfy7h5qkb6bf7dxhrwnjk0723qahw9")) (modules '((guix build utils))) (snippet '(with-directory-excursion "ext" @@ -282,7 +293,7 @@ ("curl" ,curl) ("cyrus-sasl" ,cyrus-sasl) ("freetype" ,freetype) - ("gd" ,gd) + ("gd" ,gd-for-php) ("gdbm" ,gdbm) ("glibc" ,glibc) ("gmp" ,gmp) |