diff options
Diffstat (limited to 'editors/abiword/patches')
-rw-r--r-- | editors/abiword/patches/patch-ab | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/editors/abiword/patches/patch-ab b/editors/abiword/patches/patch-ab index c3e80e6ce8a..ba031be14b3 100644 --- a/editors/abiword/patches/patch-ab +++ b/editors/abiword/patches/patch-ab @@ -1,15 +1,15 @@ -$NetBSD: patch-ab,v 1.8 2003/12/26 18:26:59 wiz Exp $ +$NetBSD: patch-ab,v 1.9 2004/03/30 00:53:31 reed Exp $ ---- src/af/util/xp/ut_iconv.cpp.orig Thu Jul 17 15:12:55 2003 -+++ src/af/util/xp/ut_iconv.cpp Thu Jul 17 15:16:40 2003 -@@ -295,8 +295,8 @@ - return (size_t)-1; +--- src/af/util/xp/ut_types.h.orig 2003-10-21 09:25:23.000000000 -0700 ++++ src/af/util/xp/ut_types.h +@@ -259,7 +259,9 @@ ABI_EXPORT void * UT_calloc ( UT_uint32 + (defined (__MACH__) && defined (__APPLE__)) || \ + (defined(TARGET_OS_MAC) && TARGET_OS_MAC) || \ + defined(__BEOS__) || defined (__AIX__) || \ +-(defined(__linux__) && defined(__powerpc__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 1)) ++(defined(__linux__) && defined(__powerpc__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 1)) || \ ++defined(__NetBSD__) || \ ++(defined(_LIBICONV_VERSION) && _LIBICONV_VERSION >= 0x0109) - -- ICONV_CONST char ** buf = const_cast<ICONV_CONST char**>(inbuf); -- return iconv( cd, buf, inbytesleft, outbuf, outbytesleft ); -+ //ICONV_CONST char ** buf = const_cast<ICONV_CONST char**>(inbuf); -+ return iconv( cd, inbuf, inbytesleft, outbuf, outbytesleft ); - } - - int UT_iconv_close( UT_iconv_t cd ) + #define ICONV_CONST const + #else |