diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-05-14 11:16:24 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-05-14 11:16:24 +0800 |
commit | e13099dbac1b362e0a193bc5f20715dbb482819b (patch) | |
tree | 10bc1078ca8574c89cb7477215b16c5fa4f17080 /graphics/cegui/files/patch-cegui__src__IconvStringTranscoder.cpp | |
parent | 9a50f23255d75fe5bd923f3518b0841f36b5914f (diff) | |
download | freebsd-ports-graphics-e13099dbac1b362e0a193bc5f20715dbb482819b.tar.gz freebsd-ports-graphics-e13099dbac1b362e0a193bc5f20715dbb482819b.tar.zst freebsd-ports-graphics-e13099dbac1b362e0a193bc5f20715dbb482819b.zip |
- 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)
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 00000000000..3b7653f095b --- /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 + } + + //------------------------------------------------------------------------// |