summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2016-10-30 09:40:32 +0800
committer宋文武 <iyzsong@gmail.com>2016-10-30 09:53:11 +0800
commitad967bf08d008712bd40296da9cfd4c0c0c214cd (patch)
tree686aa7e0034b03ffa20f99eb14e697e71a230b35 /gnu
parent326f8285b35def19d4ce12ab9bb73d2b452c7760 (diff)
downloadgnu-guix-ad967bf08d008712bd40296da9cfd4c0c0c214cd.tar
gnu-guix-ad967bf08d008712bd40296da9cfd4c0c0c214cd.tar.gz
gnu: dico: Fix test failure.
* gnu/packages/dico.scm (dico)[source]: Add 'snippet' and 'modules'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/dico.scm8
1 files changed, 7 insertions, 1 deletions
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