mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: autogen: Fix compilation.
* gnu/packages/autogen.scm (autogen)[source]: Add 'modules' and 'snippet'.
This commit is contained in:
parent
5c2032f7c9
commit
c1539e1385
1 changed files with 7 additions and 1 deletions
|
@ -40,7 +40,13 @@ (define-public autogen
|
||||||
(uri (string-append "mirror://gnu/autogen/rel" version
|
(uri (string-append "mirror://gnu/autogen/rel" version
|
||||||
"/autogen-" version ".tar.xz"))
|
"/autogen-" version ".tar.xz"))
|
||||||
(sha256
|
(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)
|
(build-system gnu-build-system)
|
||||||
(native-inputs (list pkg-config which))
|
(native-inputs (list pkg-config which))
|
||||||
(inputs (list guile-2.2 perl)) ; for doc generator mdoc
|
(inputs (list guile-2.2 perl)) ; for doc generator mdoc
|
||||||
|
|
Loading…
Reference in a new issue