summaryrefslogtreecommitdiff
path: root/dev-db/mongodb/files/mongodb-5.0.26-mozjs-remove-unused-constructor.patch
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-05-06 20:27:34 +0100
committerSam James <sam@gentoo.org>2025-05-06 20:32:06 +0100
commit8ee176dbe6fb61293b3b0ac57d859261e0ca902e (patch)
tree08dbda928eb75de6235a9c7c37e5ee44ecfde6ee /dev-db/mongodb/files/mongodb-5.0.26-mozjs-remove-unused-constructor.patch
parent07da7cbf83135a8830a1da146b594d4b2e615797 (diff)
downloadgentoo-8ee176dbe6fb61293b3b0ac57d859261e0ca902e.tar.gz
gentoo-8ee176dbe6fb61293b3b0ac57d859261e0ca902e.tar.bz2
gentoo-8ee176dbe6fb61293b3b0ac57d859261e0ca902e.zip
dev-db/mongodb: move all patches to devspae
Wanted to do this after because the patches are a mess and having some history for them is good. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db/mongodb/files/mongodb-5.0.26-mozjs-remove-unused-constructor.patch')
-rw-r--r--dev-db/mongodb/files/mongodb-5.0.26-mozjs-remove-unused-constructor.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/dev-db/mongodb/files/mongodb-5.0.26-mozjs-remove-unused-constructor.patch b/dev-db/mongodb/files/mongodb-5.0.26-mozjs-remove-unused-constructor.patch
deleted file mode 100644
index 0b5058c88155..000000000000
--- a/dev-db/mongodb/files/mongodb-5.0.26-mozjs-remove-unused-constructor.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-https://phabricator.services.mozilla.com/D209108
-https://github.com/mozilla/gecko-dev/commit/33cdc6655b0de44cb7a431216dcbb0d5a552aec6
-
-clang 19 will report error if w/o this patch:
-
- src/third_party/mozjs-60/extract/js/src/threading/ExclusiveData.h:124:33: error: reference to non-static member function must be called
-
-diff --git a/src/third_party/mozjs-60/extract/js/src/threading/ExclusiveData.h b/src/third_party/mozjs-60/extract/js/src/threading/ExclusiveData.h
-index 25b977e..379a509 100644
---- a/src/third_party/mozjs-60/extract/js/src/threading/ExclusiveData.h
-+++ b/src/third_party/mozjs-60/extract/js/src/threading/ExclusiveData.h
-@@ -120,13 +120,6 @@ class ExclusiveData
- release();
- }
-
-- ExclusiveData(ExclusiveData&& rhs)
-- : lock_(mozilla::Move(rhs.lock))
-- {
-- MOZ_ASSERT(&rhs != this, "self-move disallowed!");
-- new (mozilla::KnownNotNull, value_.addr()) T(mozilla::Move(*rhs.value_.addr()));
-- }
--
- ExclusiveData& operator=(ExclusiveData&& rhs) {
- this->~ExclusiveData();
- new (mozilla::KnownNotNull, this) ExclusiveData(mozilla::Move(rhs));