summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/openclonk/files/openclonk-5.5.1-tinyxml-shared.patch')
-rw-r--r--games-action/openclonk/files/openclonk-5.5.1-tinyxml-shared.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/games-action/openclonk/files/openclonk-5.5.1-tinyxml-shared.patch b/games-action/openclonk/files/openclonk-5.5.1-tinyxml-shared.patch
new file mode 100644
index 000000000000..a55943fc3135
--- /dev/null
+++ b/games-action/openclonk/files/openclonk-5.5.1-tinyxml-shared.patch
@@ -0,0 +1,25 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Thu Feb 6 19:58:45 UTC 2014
+Subject: use shared tinyxml
+
+--- a/CMakeLists.txt.old.new
++++ b/CMakeLists.txt
+@@ -1292,7 +1292,6 @@
+ CHECK_INCLUDE_FILE_CXX(getopt.h HAVE_GETOPT_H)
+
+ # TinyXML
+-add_subdirectory(thirdparty/tinyxml)
+ target_link_libraries(openclonk tinyxml)
+
+ if(WIN32)
+--- a/src/lib/StdMeshLoaderXml.cpp
++++ b/src/lib/StdMeshLoaderXml.cpp
+@@ -19,7 +19,7 @@
+ #include "C4Include.h"
+ #include "StdMesh.h"
+ #include "StdMeshLoader.h"
+-#include <tinyxml/tinyxml.h>
++#include <tinyxml.h>
+
+ // Helper class to load things from an XML file with error checking
+ class StdMeshLoader::StdMeshXML