diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-06-26 08:11:22 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2017-06-26 08:11:22 +0800 |
commit | bf5f82517e56440b4cc3d5166bbee7310ca0bb64 (patch) | |
tree | a6060eeac0d9299e33ed1a9634e674ed4f9461f2 /games/aquaria | |
parent | 24851a599c4ba816c243bdeb55354b46c1460198 (diff) | |
download | freebsd-ports-gnome-bf5f82517e56440b4cc3d5166bbee7310ca0bb64.tar.gz freebsd-ports-gnome-bf5f82517e56440b4cc3d5166bbee7310ca0bb64.tar.zst freebsd-ports-gnome-bf5f82517e56440b4cc3d5166bbee7310ca0bb64.zip |
games/aquaria: unbreak after r443975
Aquaria/Continuity.cpp:(.text+0x1684e): undefined reference to `tinyxml2::StrPair::GetStr()'
CMakeFiles/aquaria.dir/Aquaria/DSQ.cpp.o: In function `DSQ::loadModsCallback(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, long)':
Aquaria/DSQ.cpp:(.text+0x1014e): undefined reference to `tinyxml2::StrPair::GetStr()'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
Reported by: pkg-fallout
Diffstat (limited to 'games/aquaria')
-rw-r--r-- | games/aquaria/files/patch-tinyxml2 | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/games/aquaria/files/patch-tinyxml2 b/games/aquaria/files/patch-tinyxml2 new file mode 100644 index 000000000000..c1d0c81d77b1 --- /dev/null +++ b/games/aquaria/files/patch-tinyxml2 @@ -0,0 +1,24 @@ +https://github.com/AquariaOSE/Aquaria/issues/59 + +--- Aquaria/Continuity.cpp.orig 2016-06-19 23:56:27 UTC ++++ Aquaria/Continuity.cpp +@@ -2737,7 +2737,7 @@ void Continuity::loadFileData(int slot, XMLDocument &d + } + if (doc.Parse(buf, size) != XML_SUCCESS) + { +- errorLog("Failed to load save data: " + teh_file + " -- Error: " + doc.GetErrorStr1()); ++ errorLog("Failed to load save data: " + teh_file + " -- Error: " + doc.ErrorName()); + return; + } + } +--- Aquaria/DSQ.cpp.orig 2016-06-19 23:56:27 UTC ++++ Aquaria/DSQ.cpp +@@ -2079,7 +2079,7 @@ void DSQ::loadModsCallback(const std::string &filename + if(!Mod::loadModXML(&d, name)) + { + std::ostringstream os; +- os << "Failed to load mod xml: " << filename << " -- Error: " << d.GetErrorStr1(); ++ os << "Failed to load mod xml: " << filename << " -- Error: " << d.ErrorName(); + dsq->debugLog(os.str()); + return; + } |