Package: cegui-mk2 / 0.8.7+git20220615-6

xerces32_changes Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Update for new 3.2 version of libcerces-c
Author: William Blough <devel@blough.us>
Last-Update: 2018-10-18

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -73,7 +73,7 @@
 
 if (CMAKE_COMPILER_IS_GNUCXX OR (CMAKE_CXX_COMPILER_ID STREQUAL "Clang"))
     set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
-    set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++03")
+    set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
 elseif (NOT CMAKE_VERSION VERSION_LESS "3.1")
     set (CMAKE_C_STANDARD_REQUIRED TRUE)
     set (CMAKE_C_STANDARD "99")
--- a/cegui/src/XMLParserModules/RapidXML/XMLParser.cpp
+++ b/cegui/src/XMLParserModules/RapidXML/XMLParser.cpp
@@ -144,7 +144,7 @@
             break;
 
         case rapidxml::node_data:
-            if (childNode->value() != '\0')
+            if (childNode->value() != nullptr)
                 d_handler->text(
                     reinterpret_cast<encoded_char*>(childNode->value()));