efraim pushed a commit to branch wip-ppc
in repository guix.
commit e7df066676d3c27418ec32772f117a59a9190533
Author: Efraim Flashner <[email protected]>
AuthorDate: Tue Apr 28 22:45:35 2020 +0300
gnu: gd: Fix tests.
* gnu/packages/gd.scm (gd)[source]: Add upstream patch to fix
gdimagestream16 tests.
---
gnu/packages/gd.scm | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/gd.scm b/gnu/packages/gd.scm
index c6a2e01..70deea0 100644
--- a/gnu/packages/gd.scm
+++ b/gnu/packages/gd.scm
@@ -3,7 +3,7 @@
;;; Copyright © 2015, 2016 Mark H Weaver <[email protected]>
;;; Copyright © 2015 Eric Bavier <[email protected]>
;;; Copyright © 2016, 2017 Leo Famulari <[email protected]>
-;;; Copyright © 2017 Efraim Flashner <[email protected]>
+;;; Copyright © 2017, 2020 Efraim Flashner <[email protected]>
;;; Copyright © 2017 Marius Bakke <[email protected]>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <[email protected]>
;;;
@@ -51,8 +51,16 @@
(sha256
(base32
"0n5czhxzinvjvmhkf5l9fwjdx5ip69k5k7pj6zwb6zs1k9dibngc"))
- (patches (search-patches "gd-fix-tests-on-i686.patch"
- "gd-brect-bounds.patch"))))
+ (patches (cons
+ (origin
+ (method url-fetch)
+ (uri
"https://github.com/libgd/libgd/commit/ec0b4397698bd358557d33641aac4beb1912f43b.patch")
+ (file-name "gd-fix-gdimagestring16-test.patch")
+ (sha256
+ (base32
+
"0flznj0fgr7hychchm0xjx9l41jldbjvp1a1s79wvsywhinzf7ag")))
+ (search-patches "gd-fix-tests-on-i686.patch"
+ "gd-brect-bounds.patch")))))
(build-system gnu-build-system)
(arguments
;; As recommended by github.com/libgd/libgd/issues/278 to fix rounding