summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/tinyxml/Makefile1
-rw-r--r--textproc/tinyxml/files/patch-tinyxml.h11
2 files changed, 12 insertions, 0 deletions
diff --git a/textproc/tinyxml/Makefile b/textproc/tinyxml/Makefile
index c4b0eef1524c..4a0c946b1687 100644
--- a/textproc/tinyxml/Makefile
+++ b/textproc/tinyxml/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tinyxml
PORTVERSION= 2.6.2
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/g}
diff --git a/textproc/tinyxml/files/patch-tinyxml.h b/textproc/tinyxml/files/patch-tinyxml.h
new file mode 100644
index 000000000000..60f57e4d83c7
--- /dev/null
+++ b/textproc/tinyxml/files/patch-tinyxml.h
@@ -0,0 +1,11 @@
+--- tinyxml.h.orig 2012-01-07 23:11:37.561366901 +0100
++++ tinyxml.h 2012-01-07 23:11:58.085366340 +0100
+@@ -26,6 +26,8 @@
+ #ifndef TINYXML_INCLUDED
+ #define TINYXML_INCLUDED
+
++#define TIXML_USE_STL
++
+ #ifdef _MSC_VER
+ #pragma warning( push )
+ #pragma warning( disable : 4530 )