public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/files/, dev-db/mongodb/
Date: Wed, 11 Dec 2024 05:48:41 +0000 (UTC)	[thread overview]
Message-ID: <1733895955.749ec8c1b84540151fa6bbec73ae5ce4cb5554ac.sam@gentoo> (raw)

commit:     749ec8c1b84540151fa6bbec73ae5ce4cb5554ac
Author:     Robert Förster <Dessa <AT> gmake <DOT> de>
AuthorDate: Tue Sep 10 14:09:11 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <Dessa <AT> gmake.de>
Signed-off-by: Sam James <sam <AT> 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 <boost/filesystem.hpp>
 +#include <boost/filesystem/fstream.hpp>
  #include <boost/filesystem/path.hpp>
- 
- #include "mongo/base/simple_string_data_comparator.h"
+ #include <pcrecpp.h>
+
 --- 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 <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 @@

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() {


             reply	other threads:[~2024-12-11  5:48 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-11  5:48 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-11  9:51 [gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/files/, dev-db/mongodb/ Sam James
2024-12-11  5:48 Sam James
2024-12-11  5:48 Sam James
2024-05-10 14:18 Alexys Jacob
2023-01-30  3:27 Sam James
2022-12-31 15:36 Sam James
2022-12-30 20:22 Sam James
2022-06-17 17:55 Sam James
2022-04-26 13:37 Alexys Jacob
2021-08-20 18:07 Alexys Jacob
2021-08-19 16:38 Alexys Jacob
2021-08-19 16:38 Alexys Jacob
2021-07-15 14:14 Thomas Deutschmann
2021-01-18 10:42 Alexys Jacob
2020-11-09 14:11 Alexys Jacob
2020-11-09 14:11 Alexys Jacob
2019-09-22 18:59 Alexys Jacob
2018-01-06 21:34 Alexys Jacob
2018-01-05 13:07 Alexys Jacob
2017-10-13  8:33 Alexys Jacob
2017-09-21 19:50 Patrice Clement
2017-07-31 12:14 Alexys Jacob
2016-10-21 18:50 David Seifert
2016-04-02 18:54 David Seifert
2015-12-31 14:07 Alexys Jacob

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1733895955.749ec8c1b84540151fa6bbec73ae5ce4cb5554ac.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox