head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.22 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.20 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.18 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.16 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.14 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.12 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.10 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.8 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.6 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.4 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.2 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.1.0.4 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.2 pkgsrc-2023Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2023.07.29.11.45.43; author adam; state Exp; branches; next 1.1; commitid E0zTHbOj74uTWGyE; 1.1 date 2023.01.22.17.36.31; author ryoon; state Exp; branches; next ; commitid LJPSbqxDIa71WyaE; desc @@ 1.2 log @mongodb: updated to 6.0.8 https://www.mongodb.com/docs/manual/release-notes/6.0/ @ text @$NetBSD: patch-src_mongo_shell_shell__utils__extended.cpp,v 1.1 2023/01/22 17:36:31 ryoon Exp $ boost::filesystem::ofstream is deprected, use std::ofstream instead. --- src/mongo/shell/shell_utils_extended.cpp.orig 2021-06-30 17:39:08.000000000 +0000 +++ src/mongo/shell/shell_utils_extended.cpp @@@@ -390,7 +390,7 @@@@ BSONObj writeFile(const BSONObj& args, v mode |= std::ios::binary; } - boost::filesystem::ofstream ofs{normalizedFilePath, mode}; + std::ofstream ofs{normalizedFilePath.string(), mode}; uassert(40346, str::stream() << "failed to open file " << normalizedFilePath.string() << " for writing", @@@@ -454,7 +454,7 @@@@ BSONObj readDumpFile(const BSONObj& a, v // Open the file for reading in binary mode. const auto pathStr = a.firstElement().String(); - boost::filesystem::ifstream stream(pathStr, std::ios::in | std::ios::binary); + ifstream stream(pathStr, std::ios::in | std::ios::binary); uassert(31405, str::stream() << "readDumpFile(): Unable to open file \"" << pathStr << "\" for reading", @ 1.1 log @mongodb: Fix build with Boost 1.81.0 @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 * boost::filesystem::ofstream deprected, use std::ofstream instead. d7 1 a7 1 @@@@ -318,7 +318,7 @@@@ BSONObj writeFile(const BSONObj& args, v d12 1 a12 1 + std::ofstream ofs{normalizedFilePath, mode}; d16 9 @