gnu: gcr: Fix build with recent Glib.

* gnu/packages/gnome.scm (gcr)[source](patches): New field.
This commit is contained in:
Marius Bakke 2019-07-12 16:51:57 +02:00
parent 4b8f131345
commit 03ecf85a76
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -601,7 +601,20 @@ (define-public gcr
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"02xgky22xgvhgd525khqh64l5i21ca839fj9jzaqdi3yvb8pbq8m")))) "02xgky22xgvhgd525khqh64l5i21ca839fj9jzaqdi3yvb8pbq8m"))
(patches
(list
;; This patch solves an ordering issue that showed up when
;; running the test suite against newer Glib 2.60. See
;; <https://gitlab.gnome.org/GNOME/gcr/merge_requests/9>.
(origin
(method url-fetch)
(uri (string-append "https://gitlab.gnome.org/GNOME/gcr/commit/"
"45d637578d7643ff96c0183ac267497a0b4c6344.diff"))
(file-name "gcr-hashtable-ordering.patch")
(sha256
(base32
"1vsqiys8fsm1f1vvds783wwf7zwi5v282rhsai8jrsm6x7h79gbi")))))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:phases '(#:phases