SOURCES: icewm-types.patch (NEW) - fix build

havner havner at pld-linux.org
Tue Jul 25 16:32:41 CEST 2006


Author: havner                       Date: Tue Jul 25 14:32:40 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix build

---- Files affected:
SOURCES:
   icewm-types.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/icewm-types.patch
diff -u /dev/null SOURCES/icewm-types.patch:1.1
--- /dev/null	Tue Jul 25 16:32:40 2006
+++ SOURCES/icewm-types.patch	Tue Jul 25 16:32:35 2006
@@ -0,0 +1,11 @@
+--- icewm-1.2.25.orig/src/ylocale.cc	2006-02-03 07:24:27.000000000 +0100
++++ icewm-1.2.25/src/ylocale.cc	2006-07-25 16:27:42.000000000 +0200
+@@ -152,7 +152,7 @@
+     char * inbuf((char *) lStr), * outbuf((char *) uStr);
+     size_t inlen(lLen), outlen(4 * lLen);
+ 
+-    if (0 > (int) iconv(instance->toUnicode, const_cast<const char **>(&inbuf), &inlen, &outbuf, &outlen))
++    if (0 > (int) iconv(instance->toUnicode, &inbuf, &inlen, &outbuf, &outlen))
+         warn(_("Invalid multibyte string \"%s\": %s"), lStr, strerror(errno));
+ 
+     *((YUChar *) outbuf) = 0;
================================================================


More information about the pld-cvs-commit mailing list