gnu: chez-scheme: Fix build issues against glibc 2.26.

* gnu/packages/chez.scm (chez-scheme)[source](modules, snippet): New
fields.
master
Ludovic Courtès 2018-01-18 00:13:14 +01:00
parent 6b26f9152c
commit 9e9a207b49
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 6 additions and 1 deletions

View File

@ -70,7 +70,12 @@
"v" version ".tar.gz"))
(sha256
(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)
(inputs
`(("ncurses" ,ncurses)