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
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -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) | ||||||
|  |  | ||||||
		Reference in a new issue