From ad967bf08d008712bd40296da9cfd4c0c0c214cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Sun, 30 Oct 2016 09:40:32 +0800 Subject: [PATCH] gnu: dico: Fix test failure. * gnu/packages/dico.scm (dico)[source]: Add 'snippet' and 'modules'. --- gnu/packages/dico.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/dico.scm b/gnu/packages/dico.scm index 16ab343cb0..1a674dff4b 100644 --- a/gnu/packages/dico.scm +++ b/gnu/packages/dico.scm @@ -44,7 +44,13 @@ version ".tar.xz")) (sha256 (base32 - "13by0zimx90v2j8v7n4k9y3xwmh4q9jdc2f4f8yjs3x7f5bzm2pk")))) + "13by0zimx90v2j8v7n4k9y3xwmh4q9jdc2f4f8yjs3x7f5bzm2pk")) + (snippet + ;; Upstream commit 89922fc. + '(substitute* "include/dico/markup.h" + (("const char \\*dico_markup_type;") + "extern const char *dico_markup_type;"))) + (modules '((guix build utils))))) (build-system gnu-build-system) (arguments '(#:configure-flags (list (string-append "--with-guile-site-dir=" %output