From 25f98c57ed251a6352419c34840a9849e61bfd8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Valenduc?= Date: Fri, 2 May 2025 13:14:36 +0200 Subject: dev-db/mongodb: add 8.0.8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/882515 Signed-off-by: François Valenduc Part-of: https://github.com/gentoo/gentoo/pull/41580 Closes: https://github.com/gentoo/gentoo/pull/41580 Signed-off-by: Sam James --- ...odb-8.0.6-mozjs-remove-unused-constructor.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 dev-db/mongodb/files/mongodb-8.0.6-mozjs-remove-unused-constructor.patch (limited to 'dev-db/mongodb/files/mongodb-8.0.6-mozjs-remove-unused-constructor.patch') diff --git a/dev-db/mongodb/files/mongodb-8.0.6-mozjs-remove-unused-constructor.patch b/dev-db/mongodb/files/mongodb-8.0.6-mozjs-remove-unused-constructor.patch new file mode 100644 index 000000000000..60f231d9ae48 --- /dev/null +++ b/dev-db/mongodb/files/mongodb-8.0.6-mozjs-remove-unused-constructor.patch @@ -0,0 +1,28 @@ +From 67320f150c65ece68118d1c9ecfd1c0a1f69ba6f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fran=C3=A7ois=20Valenduc?= +Date: Mon, 28 Apr 2025 14:16:08 +0200 +Subject: [PATCH] remove unused constructor + +--- + .../mozjs/extract/js/src/threading/ExclusiveData.h | 5 ----- + 1 file changed, 5 deletions(-) + +diff --git a/src/third_party/mozjs/extract/js/src/threading/ExclusiveData.h b/src/third_party/mozjs/extract/js/src/threading/ExclusiveData.h +index 38e89f10a1d..2d8ca831bf7 100644 +--- a/src/third_party/mozjs/extract/js/src/threading/ExclusiveData.h ++++ b/src/third_party/mozjs/extract/js/src/threading/ExclusiveData.h +@@ -109,11 +109,6 @@ class ExclusiveData { + explicit ExclusiveData(const MutexId& id, Args&&... args) + : lock_(id), value_(std::forward(args)...) {} + +- ExclusiveData(ExclusiveData&& rhs) +- : lock_(std::move(rhs.lock)), value_(std::move(rhs.value_)) { +- MOZ_ASSERT(&rhs != this, "self-move disallowed!"); +- } +- + ExclusiveData& operator=(ExclusiveData&& rhs) { + this->~ExclusiveData(); + new (mozilla::KnownNotNull, this) ExclusiveData(std::move(rhs)); +-- +2.49.0 + -- cgit v1.2.3