1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-04 00:05:56 +02:00

gnu: autogen: Fix compilation.

* gnu/packages/autogen.scm (autogen)[source]: Add 'modules' and
'snippet'.
This commit is contained in:
Ludovic Courtès
2022-02-11 11:18:59 +01:00
parent 5c2032f7c9
commit c1539e1385
+7 -1
View File
@@ -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