summaryrefslogtreecommitdiff
path: root/games-sports/trigger/files/trigger-0.6.1-gcc6.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-sports/trigger/files/trigger-0.6.1-gcc6.patch
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-sports/trigger/files/trigger-0.6.1-gcc6.patch')
-rw-r--r--games-sports/trigger/files/trigger-0.6.1-gcc6.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/games-sports/trigger/files/trigger-0.6.1-gcc6.patch b/games-sports/trigger/files/trigger-0.6.1-gcc6.patch
new file mode 100644
index 000000000000..38822287c61d
--- /dev/null
+++ b/games-sports/trigger/files/trigger-0.6.1-gcc6.patch
@@ -0,0 +1,39 @@
+Bug: https://bugs.gentoo.org/617886
+
+--- a/src/pengine/tinyxmlparser.cpp
++++ b/src/pengine/tinyxmlparser.cpp
+@@ -326,14 +326,14 @@
+ if ( !p || !*p )
+ {
+ SetError( TIXML_ERROR_DOCUMENT_EMPTY );
+- return false;
++ return NULL;
+ }
+
+ p = SkipWhiteSpace( p );
+ if ( !p )
+ {
+ SetError( TIXML_ERROR_DOCUMENT_EMPTY );
+- return false;
++ return NULL;
+ }
+
+ while ( p && *p )
+@@ -541,7 +541,7 @@
+ if ( !p || !*p || *p != '<' )
+ {
+ if ( document ) document->SetError( TIXML_ERROR_PARSING_ELEMENT );
+- return false;
++ return NULL;
+ }
+
+ p = SkipWhiteSpace( p+1 );
+@@ -551,7 +551,7 @@
+ if ( !p || !*p )
+ {
+ if ( document ) document->SetError( TIXML_ERROR_FAILED_TO_READ_ELEMENT_NAME );
+- return false;
++ return NULL;
+ }
+
+ TIXML_STRING endTag ("</");