ports/devel/collada-dom/files/patch-dom_src_dae_daeZAEUncompressHandler.cpp
Dima Panov 452c407f87
devel/collada-dom: unbreak build with boost-1.85
With hat:	office
Sponsored by:	Future Crew, LLC
2024-10-03 13:24:53 +03:00

11 lines
559 B
C++

--- dom/src/dae/daeZAEUncompressHandler.cpp.orig 2017-10-21 05:05:24 UTC
+++ dom/src/dae/daeZAEUncompressHandler.cpp
@@ -271,7 +271,7 @@ bool daeZAEUncompressHandler::checkAndExtractInternalA
bool error = false;
boost::filesystem::path archivePath(filePath);
- std::string dir = archivePath.branch_path().string();
+ std::string dir = archivePath.parent_path().string();
const std::string& randomSegment = cdom::getRandomFileName();
std::string tmpDir = dir + cdom::getFileSeparator() + randomSegment + cdom::getFileSeparator();