diff options
Diffstat (limited to 'lang/guile20/patches/patch-libguile_i18n.c')
-rw-r--r-- | lang/guile20/patches/patch-libguile_i18n.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/guile20/patches/patch-libguile_i18n.c b/lang/guile20/patches/patch-libguile_i18n.c new file mode 100644 index 00000000000..587d92ca851 --- /dev/null +++ b/lang/guile20/patches/patch-libguile_i18n.c @@ -0,0 +1,16 @@ +$NetBSD: patch-libguile_i18n.c,v 1.1 2014/11/01 13:24:37 wiz Exp $ + +NetBSD provides newlocale and strcoll_l, but not uselocale. +http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18898 + +--- libguile/i18n.c.orig 2014-01-21 21:25:11.000000000 +0000 ++++ libguile/i18n.c +@@ -40,7 +40,7 @@ + #include <unicase.h> + #include <unistr.h> + +-#if (defined HAVE_NEWLOCALE) && (defined HAVE_STRCOLL_L) ++#if (defined HAVE_NEWLOCALE) && (defined HAVE_STRCOLL_L) && (defined HAVE_USELOCALE) + /* The GNU thread-aware locale API is documented in ``Thread-Aware Locale + Model, a Proposal'', by Ulrich Drepper: + |