summaryrefslogtreecommitdiff
path: root/gnu/packages/dico.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/dico.scm')
-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