aboutsummaryrefslogtreecommitdiff
path: root/textproc/xerces-c2-devel/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/xerces-c2-devel/files/patch-aa')
-rw-r--r--textproc/xerces-c2-devel/files/patch-aa12
1 files changed, 12 insertions, 0 deletions
diff --git a/textproc/xerces-c2-devel/files/patch-aa b/textproc/xerces-c2-devel/files/patch-aa
new file mode 100644
index 000000000000..1e3aad521e00
--- /dev/null
+++ b/textproc/xerces-c2-devel/files/patch-aa
@@ -0,0 +1,12 @@
+--- src/xercesc/util/Transcoders/IconvFBSD/IconvFBSDTransService.cpp.orig Tue Aug 27 09:24:38 2002
++++ src/xercesc/util/Transcoders/IconvFBSD/IconvFBSDTransService.cpp Sun Jan 12 01:44:04 2003
+@@ -1091,7 +1091,8 @@
+ // perform conversion
+ wLent *= uChSize();
+ char *ptr = retVal;
+- size_t rc = iconvTo(wideCharBuf, &wLent, &ptr, neededLen);
++ size_t tmpwLent = wLent;
++ size_t rc = iconvTo(wideCharBuf, &tmpwLent, &ptr, neededLen);
+ if (rc == (size_t)-1) {
+ if (wBufPtr)
+ delete [] wBufPtr;