diff options
Diffstat (limited to 'games/openlierox/files/patch-src_common_StringUtils.cpp')
| -rw-r--r-- | games/openlierox/files/patch-src_common_StringUtils.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games/openlierox/files/patch-src_common_StringUtils.cpp b/games/openlierox/files/patch-src_common_StringUtils.cpp new file mode 100644 index 000000000000..ba5a96b679a5 --- /dev/null +++ b/games/openlierox/files/patch-src_common_StringUtils.cpp @@ -0,0 +1,14 @@ +--- src/common/StringUtils.cpp.orig 2018-02-01 15:56:41 UTC ++++ src/common/StringUtils.cpp +@@ -751,7 +751,11 @@ static void charactersParsed(void* context, const xmlC + } + + /* GCS: custom error function to ignore errors */ ++#if LIBXML_VERSION >= 21300 ++static void xmlErrorHandlerDummy(void *, const xmlError *) ++#else + static void xmlErrorHandlerDummy(void *, xmlErrorPtr) ++#endif + { + /* ignore all errors */ + } |
