summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-10-27 10:19:46 +0100
committerLudovic Courtès <ludo@gnu.org>2015-10-27 10:19:46 +0100
commitc21317d4250b75ee702979c67a942a618bf29628 (patch)
tree2a871cba258fa65d04679f83dbe60f0f481ae2f5 /gnu/packages
parentff5c33fe718dfdfcd1d9a16423426e4f456479a3 (diff)
downloadguix-c21317d4250b75ee702979c67a942a618bf29628.tar.gz
gnu: mu: Adjust to new GLib version.
* gnu/packages/mail.scm (%mu-gtester-patch): New variable.
  (mu)[source]: Use it.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/mail.scm12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 25407b835a..9a597e2a4e 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -306,6 +306,15 @@ can read the same mailbox from multiple computers.  It supports IMAP as REMOTE
 repository and Maildir/IMAP as LOCAL repository.")
     (license gpl2+)))
 
+(define %mu-gtester-patch
+  ;; Ensure tests have unique names, to placate GLib 2.6's gtester.
+  (origin
+    (method url-fetch)
+    (uri "https://github.com/djcb/mu/commit/b44039ed.patch")
+    (sha256
+     (base32
+      "165hryqqhx3wah8a4f5jaq465azx1pm9r4jid7880pys9gd88qlv"))))
+
 (define-public mu
   (package
     (name "mu")
@@ -317,7 +326,8 @@ repository and Maildir/IMAP as LOCAL repository.")
               (file-name (string-append "mu-" version ".tar.gz"))
               (sha256
                (base32
-                "0wj33pma8xgjvn2akk7khzbycwn4c9sshxvzdph9dnpy7gyqxj51"))))
+                "0wj33pma8xgjvn2akk7khzbycwn4c9sshxvzdph9dnpy7gyqxj51"))
+              (patches (list %mu-gtester-patch))))
     (build-system gnu-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)