summaryrefslogtreecommitdiff
path: root/wm/icewm/patches
diff options
context:
space:
mode:
authorrillig <rillig>2006-11-28 15:26:18 +0000
committerrillig <rillig>2006-11-28 15:26:18 +0000
commit74f6cf8d5675cf11a184c85df3c34f037e2ca36c (patch)
treee4a01b6ddbfc50912a6263d2106906449a8024ac /wm/icewm/patches
parent3f71a020e1b39921b61ec6d70814016e6cbbdfd2 (diff)
downloadpkgsrc-74f6cf8d5675cf11a184c85df3c34f037e2ca36c.tar.gz
Fixed the package for Solaris 10.
Diffstat (limited to 'wm/icewm/patches')
-rw-r--r--wm/icewm/patches/patch-aa6
1 files changed, 3 insertions, 3 deletions
diff --git a/wm/icewm/patches/patch-aa b/wm/icewm/patches/patch-aa
index 82d84a37ae6..5949d78b392 100644
--- a/wm/icewm/patches/patch-aa
+++ b/wm/icewm/patches/patch-aa
@@ -1,12 +1,12 @@
-$NetBSD: patch-aa,v 1.8 2006/10/02 11:13:22 ghen Exp $
+$NetBSD: patch-aa,v 1.9 2006/11/28 15:26:18 rillig Exp $
--- src/ylocale.cc.orig 2006-08-06 20:38:14.000000000 +0200
-+++ src/ylocale.cc
++++ src/ylocale.cc 2006-11-28 14:19:44.455436536 +0100
@@ -152,7 +152,11 @@ YUChar *YLocale::unicodeString(const YLC
char * inbuf((char *) lStr), * outbuf((char *) uStr);
size_t inlen(lLen), outlen(4 * lLen);
-+#if defined(__NetBSD__)
++#if defined(__NetBSD__) || defined(__sun)
+ if (0 > (int) iconv(instance->toUnicode, const_cast<const char **>(&inbuf), &inlen, &outbuf, &outlen))
+#else
if (0 > (int) iconv(instance->toUnicode, &inbuf, &inlen, &outbuf, &outlen))