summaryrefslogtreecommitdiff
path: root/graphics/dia
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2002-12-30 20:26:08 +0000
committerjmcneill <jmcneill@pkgsrc.org>2002-12-30 20:26:08 +0000
commit8dfae664e5d3006e52d65d8df8f65d0a98315f22 (patch)
treedde55d8d02ab766855c5f8f5fd402f9e5f3c9fbf /graphics/dia
parentc5354775e6697c71f8e0751f9faa9542cab9d608 (diff)
downloadpkgsrc-8dfae664e5d3006e52d65d8df8f65d0a98315f22.tar.gz
Fix warning message so we display the current charset properly.
Diffstat (limited to 'graphics/dia')
-rw-r--r--graphics/dia/distinfo4
-rw-r--r--graphics/dia/patches/patch-ba12
2 files changed, 8 insertions, 8 deletions
diff --git a/graphics/dia/distinfo b/graphics/dia/distinfo
index a1bcf408bbd..2ade18a97e9 100644
--- a/graphics/dia/distinfo
+++ b/graphics/dia/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2002/12/30 19:20:12 jmcneill Exp $
+$NetBSD: distinfo,v 1.7 2002/12/30 20:26:08 jmcneill Exp $
SHA1 (dia-0.90.tar.gz) = 7e9705dbf3f3ce62a58169f531dbc635140a88d8
Size (dia-0.90.tar.gz) = 2888211 bytes
SHA1 (patch-aa) = ed5bb19334fcacc772aa1c504fc3c3e4dab933b4
SHA1 (patch-ab) = 9ec08acce0b9a2fe5f2e6b8b15cf294d961aabe1
-SHA1 (patch-ba) = 0f52f095a7707ce8d2006d933acc7f134866b69c
+SHA1 (patch-ba) = 1f19128f6819e25011c79ea79fbaa962f7e9a660
SHA1 (patch-bb) = 3838f817e02df719b121029e151d84cb307c7fd5
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";
+ }