[BACK]Return to patch-tinyxml.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / tinyxml / patches

File: [cvs.NetBSD.org] / pkgsrc / textproc / tinyxml / patches / patch-tinyxml.h (download)

Revision 1.1, Sun Feb 16 23:05:33 2014 UTC (6 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, HEAD

Import tinyxml-2.6.2 as textproc/tinyxml, packaged for wip by
anthony_mallet.

TinyXML parses an XML document, and builds from that a Document Object Model
(DOM) that can be read, modified, and saved.

TinyXML uses a Document Object Model (DOM), meaning the XML data is parsed into
a C++ objects that can be browsed and manipulated, and then written to disk or
another output stream. You can also construct an XML document from scratch with
C++ objects and write this to disk or another output stream.

TinyXML doesn't parse or use DTDs (Document Type Definitions) or XSLs
(eXtensible Stylesheet Language.) There are other parsers out there (check out
www.sourceforge.org, search for XML) that are much more fully featured. But
they are also much bigger, take longer to set up in your project, have a higher
learning curve, and often have a more restrictive license. If you are working
with browsers or have more complete XML needs, TinyXML is not the parser for
you.

$NetBSD: patch-tinyxml.h,v 1.1 2014/02/16 23:05:33 wiz Exp $

Force the use of STL in tinyxml.h.

--- tinyxml.h~	2011-05-15 04:24:57.000000000 +0200
+++ tinyxml.h	2013-06-20 23:42:16.000000000 +0200
@@ -26,6 +26,10 @@
 #ifndef TINYXML_INCLUDED
 #define TINYXML_INCLUDED
 
+#ifndef TIXML_USE_STL
+#	define TIXML_USE_STL
+#endif
+
 #ifdef _MSC_VER
 #pragma warning( push )
 #pragma warning( disable : 4530 )