From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 73B0E1581F0 for ; Wed, 11 Dec 2024 05:48:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8A7FE07D4; Wed, 11 Dec 2024 05:48:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3D9A2E07D4 for ; Wed, 11 Dec 2024 05:48:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 453CA343150 for ; Wed, 11 Dec 2024 05:48:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7FDCD1A26 for ; Wed, 11 Dec 2024 05:48:41 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1733895955.749ec8c1b84540151fa6bbec73ae5ce4cb5554ac.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/files/, dev-db/mongodb/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/mongodb/files/mongodb-5.0.2-boost-1.79.patch dev-db/mongodb/files/mongodb-5.0.26-boost-1.85-extra.patch dev-db/mongodb/files/mongodb-5.0.26-boost-1.85.patch dev-db/mongodb/mongodb-5.0.26.ebuild X-VCS-Directories: dev-db/mongodb/files/ dev-db/mongodb/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 749ec8c1b84540151fa6bbec73ae5ce4cb5554ac X-VCS-Branch: master Date: Wed, 11 Dec 2024 05:48:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 13d5173f-3756-4a19-9531-879aa91b99b3 X-Archives-Hash: 69b2823240b856aea8552600aa293765 commit: 749ec8c1b84540151fa6bbec73ae5ce4cb5554ac Author: Robert Förster gmake de> AuthorDate: Tue Sep 10 14:09:11 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Dec 11 05:45:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=749ec8c1 dev-db/mongodb: rebase boost 1.79 patch and split 1.85 patch in two to reuse it in 6 Signed-off-by: Robert Förster gmake.de> Signed-off-by: Sam James gentoo.org> dev-db/mongodb/files/mongodb-5.0.2-boost-1.79.patch | 4 ++-- .../mongodb/files/mongodb-5.0.26-boost-1.85-extra.patch | 16 ++++++++++++++++ dev-db/mongodb/files/mongodb-5.0.26-boost-1.85.patch | 9 --------- dev-db/mongodb/mongodb-5.0.26.ebuild | 1 + 4 files changed, 19 insertions(+), 11 deletions(-) diff --git a/dev-db/mongodb/files/mongodb-5.0.2-boost-1.79.patch b/dev-db/mongodb/files/mongodb-5.0.2-boost-1.79.patch index 39c76bacf426..de4c11ea2844 100644 --- a/dev-db/mongodb/files/mongodb-5.0.2-boost-1.79.patch +++ b/dev-db/mongodb/files/mongodb-5.0.2-boost-1.79.patch @@ -37,8 +37,8 @@ https://bugs.gentoo.org/844235 #include +#include #include - - #include "mongo/base/simple_string_data_comparator.h" + #include + --- a/src/mongo/shell/shell_utils_extended.cpp +++ b/src/mongo/shell/shell_utils_extended.cpp @@ -37,6 +37,7 @@ diff --git a/dev-db/mongodb/files/mongodb-5.0.26-boost-1.85-extra.patch b/dev-db/mongodb/files/mongodb-5.0.26-boost-1.85-extra.patch new file mode 100644 index 000000000000..b3e3aab0c901 --- /dev/null +++ b/dev-db/mongodb/files/mongodb-5.0.26-boost-1.85-extra.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/932251 +https://github.com/mongodb/mongo/commit/f8e4be7f6da71f978b2aa9991febb4c7ad89c903#diff-010644a9158d28e5745762753c7ce454444c9fb9ab4c684e9f2fdcff50c6f539 +https://bugs.gentoo.org/932251#c3 + +--- a/src/mongo/db/initialize_server_global_state.cpp ++++ b/src/mongo/db/initialize_server_global_state.cpp +@@ -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); + diff --git a/dev-db/mongodb/files/mongodb-5.0.26-boost-1.85.patch b/dev-db/mongodb/files/mongodb-5.0.26-boost-1.85.patch index 71da50fe21eb..23bd6f75ffaa 100644 --- a/dev-db/mongodb/files/mongodb-5.0.26-boost-1.85.patch +++ b/dev-db/mongodb/files/mongodb-5.0.26-boost-1.85.patch @@ -13,15 +13,6 @@ https://bugs.gentoo.org/932251#c3 #include #include #include -@@ -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 @@ diff --git a/dev-db/mongodb/mongodb-5.0.26.ebuild b/dev-db/mongodb/mongodb-5.0.26.ebuild index efb618e4f155..ae30891c4a94 100644 --- a/dev-db/mongodb/mongodb-5.0.26.ebuild +++ b/dev-db/mongodb/mongodb-5.0.26.ebuild @@ -75,6 +75,7 @@ PATCHES=( "${FILESDIR}/${PN}-5.0.16-arm64-assert.patch" "${FILESDIR}/${PN}-4.4.29-no-enterprise.patch" "${FILESDIR}/${PN}-5.0.26-boost-1.85.patch" + "${FILESDIR}/${PN}-5.0.26-boost-1.85-extra.patch" ) python_check_deps() {