diff options
author | ghen <ghen> | 2006-10-02 11:13:22 +0000 |
---|---|---|
committer | ghen <ghen> | 2006-10-02 11:13:22 +0000 |
commit | b601e1399770d8c8ae27489dadec6c1b7f9047ee (patch) | |
tree | 2ee915bf8b4eb12254b796e17599ddb903d52211 /wm/icewm/patches | |
parent | b57291d1c326f80b459c3d4166023a2daf9c49e5 (diff) | |
download | pkgsrc-b601e1399770d8c8ae27489dadec6c1b7f9047ee.tar.gz |
Update icewm to 1.2.27. Changes:
- Danish translation
- added 'Look=flat'
- added TaskbarButtonWidthDivisor
- minor workspace switching optimization
Don't update to 1.2.28 yet since it is known to break themes and our BSD
startmenu button.
Diffstat (limited to 'wm/icewm/patches')
-rw-r--r-- | wm/icewm/patches/patch-aa | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/wm/icewm/patches/patch-aa b/wm/icewm/patches/patch-aa index 310b995d2c3..82d84a37ae6 100644 --- a/wm/icewm/patches/patch-aa +++ b/wm/icewm/patches/patch-aa @@ -1,16 +1,15 @@ -$NetBSD: patch-aa,v 1.7 2006/05/13 09:24:21 ghen Exp $ +$NetBSD: patch-aa,v 1.8 2006/10/02 11:13:22 ghen Exp $ ---- src/ylocale.cc.orig 2006-05-13 11:05:31.000000000 +0200 +--- src/ylocale.cc.orig 2006-08-06 20:38:14.000000000 +0200 +++ src/ylocale.cc @@ -152,7 +152,11 @@ YUChar *YLocale::unicodeString(const YLC char * inbuf((char *) lStr), * outbuf((char *) uStr); size_t inlen(lLen), outlen(4 * lLen); -- if (0 > (int) iconv(instance->toUnicode, const_cast<char **>(&inbuf), &inlen, &outbuf, &outlen)) +#if defined(__NetBSD__) + 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)) + if (0 > (int) iconv(instance->toUnicode, &inbuf, &inlen, &outbuf, &outlen)) +#endif warn(_("Invalid multibyte string \"%s\": %s"), lStr, strerror(errno)); |