From 682cb004613859fa90f27a26fae621b7d98d8a3c Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 21 Aug 2013 11:33:27 +0200 Subject: gnu: guile-static: Add missing hunk in guile-default-utf8.patch. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before that, the ‘guile’ binary from ‘guile-static-stripped’ would abort as it tries and fails to open an iconv descriptor for ISO-8859-1. * gnu/packages/patches/guile-default-utf8.patch: Add missing hunk for Guile 2.0.9. --- gnu/packages/patches/guile-default-utf8.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gnu/packages/patches') diff --git a/gnu/packages/patches/guile-default-utf8.patch b/gnu/packages/patches/guile-default-utf8.patch index 409f435161..22771324f4 100644 --- a/gnu/packages/patches/guile-default-utf8.patch +++ b/gnu/packages/patches/guile-default-utf8.patch @@ -109,3 +109,14 @@ index 5d0db23..8266247 100644 (enum iconv_ilseq_handler) handler, NULL, &buf, &len); +--- guile-2.0.9/libguile/ports.c 2013-08-21 11:08:50.000000000 +0200 ++++ guile-2.0.9/libguile/ports.c 2013-08-21 11:09:47.000000000 +0200 +@@ -2512,7 +2512,7 @@ scm_i_port_iconv_descriptors (SCM port, + const char *precise_encoding; + + if (!pt->encoding) +- pt->encoding = "ISO-8859-1"; ++ pt->encoding = "UTF-8"; + + /* If the specified encoding is UTF-16 or UTF-32, then make + that more precise by deciding what byte order to use. */ -- cgit v1.2.3