From d3eccd2d9965db047f56662f33923e7d0398a9e1 Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Sun, 12 Jan 2003 02:03:09 +0000 Subject: Fix building on sparc64 and alpha. Thanks to Mikko Tyolajarvi for fixing and testing on sparc64. PR: 46636 Submitted by: Bjoern A. Zeeb --- textproc/xerces-c2/files/patch-aa | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 textproc/xerces-c2/files/patch-aa (limited to 'textproc/xerces-c2/files/patch-aa') diff --git a/textproc/xerces-c2/files/patch-aa b/textproc/xerces-c2/files/patch-aa new file mode 100644 index 000000000000..1e3aad521e00 --- /dev/null +++ b/textproc/xerces-c2/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; -- cgit v1.2.3