diff options
Diffstat (limited to 'graphics/cegui/files/patch-cegui-src-IconvStringTranscoder.cpp')
-rw-r--r-- | graphics/cegui/files/patch-cegui-src-IconvStringTranscoder.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/cegui/files/patch-cegui-src-IconvStringTranscoder.cpp b/graphics/cegui/files/patch-cegui-src-IconvStringTranscoder.cpp new file mode 100644 index 000000000000..3b7653f095bf --- /dev/null +++ b/graphics/cegui/files/patch-cegui-src-IconvStringTranscoder.cpp @@ -0,0 +1,15 @@ +--- 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 + } + + //------------------------------------------------------------------------// |