From 9e9a207b49b159e9750d159336ebb8691346a35f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 18 Jan 2018 00:13:14 +0100 Subject: [PATCH] gnu: chez-scheme: Fix build issues against glibc 2.26. * gnu/packages/chez.scm (chez-scheme)[source](modules, snippet): New fields. --- gnu/packages/chez.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 @@ (define-public chez-scheme "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)