diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-02-11 11:18:59 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-02-11 17:28:00 +0100 |
commit | c1539e1385e2287c5f6eb0a69efdb1d539fe15f5 (patch) | |
tree | 95d9a49c107031a16cf1f91f042837f449047029 /gnu/packages | |
parent | 5c2032f7c94d6381144afe571c82880eab5a9c1c (diff) |
gnu: autogen: Fix compilation.
* gnu/packages/autogen.scm (autogen)[source]: Add 'modules' and
'snippet'.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/autogen.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/autogen.scm b/gnu/packages/autogen.scm index 1fe742bbae..7213776f07 100644 --- a/gnu/packages/autogen.scm +++ b/gnu/packages/autogen.scm @@ -40,7 +40,13 @@ (uri (string-append "mirror://gnu/autogen/rel" version "/autogen-" version ".tar.xz")) (sha256 - (base32 "16mlbdys8q4ckxlvxyhwkdnh1ay9f6g0cyp1kylkpalgnik398gq")))) + (base32 "16mlbdys8q4ckxlvxyhwkdnh1ay9f6g0cyp1kylkpalgnik398gq")) + (modules '((guix build utils))) + (snippet + ;; Address '-Werror=format-overflow' error. + '(substitute* "getdefs/getdefs.c" + (("def_bf\\[[[:space:]]*MAXNAMELEN[[:space:]]*\\]") + "def_bf[MAXNAMELEN + 10]"))))) (build-system gnu-build-system) (native-inputs (list pkg-config which)) (inputs (list guile-2.2 perl)) ; for doc generator mdoc |