diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-01-18 00:13:14 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-01-18 00:13:14 +0100 |
commit | 9e9a207b49b159e9750d159336ebb8691346a35f (patch) | |
tree | dd3028f9e5e15a941faa72b7d4de11c7870ca100 | |
parent | 6b26f9152c0c2088b2e891dadea81f5f6dc8b363 (diff) | |
download | guix-9e9a207b49b159e9750d159336ebb8691346a35f.tar.gz |
gnu: chez-scheme: Fix build issues against glibc 2.26.
* gnu/packages/chez.scm (chez-scheme)[source](modules, snippet): New fields.
-rw-r--r-- | gnu/packages/chez.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm index 4b5b8e8bc7..bb7767670d 100644 --- a/gnu/packages/chez.scm +++ b/gnu/packages/chez.scm @@ -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) |