summaryrefslogtreecommitdiff
path: root/graphics/dia/patches/patch-ba
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/dia/patches/patch-ba')
-rw-r--r--graphics/dia/patches/patch-ba12
1 files changed, 6 insertions, 6 deletions
diff --git a/graphics/dia/patches/patch-ba b/graphics/dia/patches/patch-ba
index ef4eb97928a..dd2d398e8a8 100644
--- a/graphics/dia/patches/patch-ba
+++ b/graphics/dia/patches/patch-ba
@@ -1,7 +1,7 @@
-$NetBSD: patch-ba,v 1.2 2002/12/30 19:19:18 jmcneill Exp $
+$NetBSD: patch-ba,v 1.3 2002/12/30 20:26:08 jmcneill Exp $
---- charconv.c.orig Thu May 16 20:06:50 2002
-+++ charconv.c Mon Dec 30 15:13:23 2002
+--- lib/charconv.c.orig Thu May 16 20:06:50 2002
++++ lib/charconv.c Mon Dec 30 15:46:33 2002
@@ -69,6 +69,8 @@
{
static char *this_charset = NULL;
@@ -32,9 +32,9 @@ $NetBSD: patch-ba,v 1.2 2002/12/30 19:19:18 jmcneill Exp $
+ if ((t1 = unicode_iconv_open(*charset, "UTF-8")) == (unicode_iconv_t)(-1)
+ || (t2 = unicode_iconv_open("UTF-8", *charset)) ==
+ (unicode_iconv_t)(-1)) {
-+ g_warning("unicode_iconv_open() does not understand your charset %s\n",
-+ "Using UTF-8 as local. Set LC_CTYPE or CHARSET.",
-+ *charset);
++ g_warning("unicode_iconv_open does not understand your charset %s\n%s",
++ *charset,
++ "Using UTF-8 as local. Set LC_CTYPE or CHARSET.");
+ local_is_utf8 = 1;
+ *charset = "UTF-8";
+ }