summaryrefslogtreecommitdiff
path: root/sci-electronics/gazebo/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-30 01:11:30 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-30 01:11:30 +0000
commit76dfef0cec9170000357d2f354e412daf48941fc (patch)
tree56647120c0ee20ab3494475c86722034cd194b02 /sci-electronics/gazebo/files
parentccf84bcd604130256d1377cd58f0a634ae6ee20f (diff)
gentoo resync : 30.12.2017
Diffstat (limited to 'sci-electronics/gazebo/files')
-rw-r--r--sci-electronics/gazebo/files/tinyxml6.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/sci-electronics/gazebo/files/tinyxml6.patch b/sci-electronics/gazebo/files/tinyxml6.patch
new file mode 100644
index 000000000000..16a3862fc78f
--- /dev/null
+++ b/sci-electronics/gazebo/files/tinyxml6.patch
@@ -0,0 +1,20 @@
+Index: gazebo-8.2.0/gazebo/util/LogPlay.cc
+===================================================================
+--- gazebo-8.2.0.orig/gazebo/util/LogPlay.cc
++++ gazebo-8.2.0/gazebo/util/LogPlay.cc
+@@ -125,12 +125,9 @@ void LogPlay::Open(const std::string &_l
+ {
+ gzerr << "Unable to load file[" << _logFile << "]. "
+ << "Check the Gazebo server log file for more information.\n";
+- const char *errorStr1 = this->dataPtr->xmlDoc.GetErrorStr1();
+- const char *errorStr2 = this->dataPtr->xmlDoc.GetErrorStr2();
+- if (errorStr1)
+- gzlog << "Log Error 1:\n" << errorStr1 << std::endl;
+- if (errorStr2)
+- gzlog << "Log Error 2:\n" << errorStr2 << std::endl;
++ const char *errorStr = this->dataPtr->xmlDoc.ErrorStr();
++ if (errorStr)
++ gzlog << "Log Error:\n" << errorStr << std::endl;
+ gzthrow("Error parsing log file");
+ }
+