diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-15 09:13:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-15 09:13:32 +0000 |
commit | 9608796f07bb7a9405d6c56e0819c6c8e2f85c13 (patch) | |
tree | 919ffb212063282c31846b74bb6e2e71b6a17b32 | |
parent | 683deacf7bab31647cab8aecc30f3c25817dff08 (diff) | |
download | aports-9608796f07bb7a9405d6c56e0819c6c8e2f85c13.tar.bz2 aports-9608796f07bb7a9405d6c56e0819c6c8e2f85c13.tar.xz |
main/guile: add missing patch
-rw-r--r-- | main/guile/strtol_l.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/guile/strtol_l.patch b/main/guile/strtol_l.patch new file mode 100644 index 0000000000..61f4f331ee --- /dev/null +++ b/main/guile/strtol_l.patch @@ -0,0 +1,20 @@ +We dont have strtol_l on musl so the missing configure.ac check is not +a problem for us. By skipping it we also avoid regenerating configure +script. + +diff --git a/libguile/i18n.c b/libguile/i18n.c +index f0e3443..17e9eca 100644 +--- a/libguile/i18n.c ++++ b/libguile/i18n.c +@@ -1373,7 +1373,7 @@ SCM_DEFINE (scm_locale_string_to_integer, "locale-string->integer", + + if (c_locale != NULL) + { +-#ifdef USE_GNU_LOCALE_API ++#if defined(USE_GNU_LOCALE_API) && defined(HAVE_STRTOL_L) + c_result = strtol_l (c_str, &c_endptr, c_base, c_locale); + #else + RUN_IN_LOCALE_SECTION (c_locale, +-- +2.4.3 + |