gnu: chez-scheme: Fix build issues against glibc 2.26.
* gnu/packages/chez.scm (chez-scheme)[source](modules, snippet): New fields.
This commit is contained in:
parent
6b26f9152c
commit
9e9a207b49
|
@ -70,7 +70,12 @@
|
||||||
"v" version ".tar.gz"))
|
"v" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "135991hspq0grf26pvl2lkwhp92yz204h6rgiwyym0x6v0xzknd1"))
|
(base32 "135991hspq0grf26pvl2lkwhp92yz204h6rgiwyym0x6v0xzknd1"))
|
||||||
(file-name (string-append "chez-scheme-" version ".tar.gz"))))
|
(file-name (string-append "chez-scheme-" version ".tar.gz"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
;; Fix compilation with glibc >= 2.26, which removed xlocale.h.
|
||||||
|
'(substitute* "c/expeditor.c"
|
||||||
|
(("xlocale\\.h") "locale.h")))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("ncurses" ,ncurses)
|
`(("ncurses" ,ncurses)
|
||||||
|
|
Loading…
Reference in New Issue