mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -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
|
||||
"/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
|
||||
|
|
Loading…
Reference in a new issue