[dev-db/mongodb] split boost 1.85 so it can be reused, 6 should build now

This commit is contained in:
2024-06-01 18:37:41 +02:00
parent 515cc1e59d
commit 6b974d959a
5 changed files with 39 additions and 13 deletions

View File

@@ -13,15 +13,6 @@ https://bugs.gentoo.org/932251#c3
#include <fmt/format.h>
#include <iostream>
#include <memory>
@@ -328,7 +328,7 @@
<< "\" should name a file, not a directory.");
}
- if (!serverGlobalParams.logAppend && boost::filesystem::is_regular(absoluteLogpath)) {
+ if (!serverGlobalParams.logAppend && boost::filesystem::is_regular_file(absoluteLogpath)) {
std::string renameTarget = absoluteLogpath + "." + terseCurrentTimeForFilename();
boost::system::error_code ec;
boost::filesystem::rename(absoluteLogpath, renameTarget, ec);
--- a/src/mongo/db/startup_warnings_mongod.cpp
+++ b/src/mongo/db/startup_warnings_mongod.cpp
@@ -34,6 +34,7 @@