diff options
Diffstat (limited to 'meta-oe/recipes-support/libtinyxml/libtinyxml/enforce-use-stl.patch')
-rw-r--r-- | meta-oe/recipes-support/libtinyxml/libtinyxml/enforce-use-stl.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libtinyxml/libtinyxml/enforce-use-stl.patch b/meta-oe/recipes-support/libtinyxml/libtinyxml/enforce-use-stl.patch new file mode 100644 index 000000000..88c962bbe --- /dev/null +++ b/meta-oe/recipes-support/libtinyxml/libtinyxml/enforce-use-stl.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | Description: TinyXml is built with TIXML_USE_STL, so we have to | ||
2 | enforce it when the library is used. | ||
3 | Author: Felix Geyer <debfx-pkg@fobos.de> | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | diff -Nur tinyxml-2.5.3/tinyxml.h tinyxml-2.5.3.patch/tinyxml.h | ||
8 | --- tinyxml-2.5.3/tinyxml.h 2007-05-07 00:41:23.000000000 +0200 | ||
9 | +++ tinyxml-2.5.3.patch/tinyxml.h 2009-07-08 22:32:03.000000000 +0200 | ||
10 | @@ -26,6 +26,10 @@ | ||
11 | #ifndef TINYXML_INCLUDED | ||
12 | #define TINYXML_INCLUDED | ||
13 | |||
14 | +#ifndef TIXML_USE_STL | ||
15 | + #define TIXML_USE_STL | ||
16 | +#endif | ||
17 | + | ||
18 | #ifdef _MSC_VER | ||
19 | #pragma warning( push ) | ||
20 | #pragma warning( disable : 4530 ) | ||