mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: nyacc: Fix bug 60474.
* gnu/packages/mes.scm (nyacc)[arguments]: Add build phase 'fix-60474.
This commit is contained in:
parent
011db003ce
commit
3563558172
1 changed files with 9 additions and 0 deletions
|
@ -112,6 +112,15 @@ (define-public nyacc
|
|||
(("GUILE_GLOBAL_SITE=\\$prefix.*")
|
||||
"GUILE_GLOBAL_SITE=\
|
||||
$prefix/share/guile/site/$GUILE_EFFECTIVE_VERSION\n")))))
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; See https://savannah.nongnu.org/bugs/index.php?60474
|
||||
(add-after 'unpack 'fix-60474
|
||||
(lambda _
|
||||
(substitute* "module/nyacc/lang/c99/parser.scm"
|
||||
(("\\(memq \\(car stmt\\) '\\(include include-next\\)\\)")
|
||||
"(memq (car stmt) '(include include-next define))")))))))
|
||||
(inputs (list guile-3.0))
|
||||
(description
|
||||
"@acronym{NYACC, Not Yet Another Compiler Compiler} is set of Guile modules
|
||||
|
|
Loading…
Reference in a new issue