ports/graphics/cegui/files/patch-cegui__src__IconvStringTranscoder.cpp
Dmitry Marakasov 4249a1ac51 - OPTIONize. This adds support for more features, fixes multiple hidden dependencies and fixes build in presence of boost-python-libs (won't compile if cegui picks it up). Default options set to match what cegui currently builds with + TINYXML option
- Enable TINYXML by default, needed for games/secretmaryochronicles
- Use canonical names for patches
- Fix freetype detection
- Fix linking with libexecinfo (link it with the library, not just add it to pkgconfig file)
- Add LICENSE

Approved by:	oliver (maintainer)
2014-05-14 03:16:24 +00:00

15 lines
630 B
C++

--- cegui/src/IconvStringTranscoder.cpp.orig 2014-03-12 06:50:07.000000000 +0100
+++ cegui/src/IconvStringTranscoder.cpp 2014-03-12 06:51:56.000000000 +0100
@@ -64,12 +64,7 @@
size_t iconv(const char** inbuf, size_t* inbytesleft,
char** outbuf, size_t* outbytesleft)
{
-#ifdef CEGUI_ICONV_USES_CONST_INBUF
return ::iconv(d_cd, inbuf, inbytesleft, outbuf, outbytesleft);
-#else
- return ::iconv(d_cd, const_cast<char**>(inbuf), inbytesleft,
- outbuf, outbytesleft);
-#endif
}
//------------------------------------------------------------------------//