diff options
Diffstat (limited to 'misc/fbreader/patches/patch-ad')
-rw-r--r-- | misc/fbreader/patches/patch-ad | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/misc/fbreader/patches/patch-ad b/misc/fbreader/patches/patch-ad new file mode 100644 index 00000000000..1e0896a4266 --- /dev/null +++ b/misc/fbreader/patches/patch-ad @@ -0,0 +1,22 @@ +$NetBSD: patch-ad,v 1.1.1.1 2009/01/18 17:39:37 wiz Exp $ + +--- zlibrary/core/src/unix/iconv/IConvEncodingConverter.cpp.orig 2009-01-11 01:44:33.000000000 +0100 ++++ zlibrary/core/src/unix/iconv/IConvEncodingConverter.cpp +@@ -89,7 +89,7 @@ iconvlabel: + #ifdef DO_ICONV_CAST + iconv(myIConverter, (const char**)&in, &inSize, &out, &outSize); + #else // DO_ICONV_CAST +- iconv(myIConverter, &in, &inSize, &out, &outSize); ++ iconv(myIConverter, (const char **)&in, &inSize, &out, &outSize); + #endif // DO_ICONV_CAST + if (inSize != 0) { + if (myBuffer.empty()) { +@@ -132,7 +132,7 @@ bool IConvEncodingConverter::fillTable(i + #ifdef DO_ICONV_CAST + iconv(myIConverter, (const char**)&in, &inSize, &out, &outSize); + #else // DO_ICONV_CAST +- iconv(myIConverter, &in, &inSize, &out, &outSize); ++ iconv(myIConverter, (const char **)&in, &inSize, &out, &outSize); + #endif // DO_ICONV_CAST + if (inSize == 0) { + ZLUnicodeUtil::Ucs4Char ch; |