head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.09.22.16.47.10; author abs; state Exp; branches; next ; commitid s8oGxWmvLnsKBDWG; desc @@ 1.1 log @Import mongodb-5.0.34 MongoDB 5.0 was released July 13, 2021, and the latest update (5.0.34) was released June 11, 2026 The main consumer of this version of mongodb in pkgsrc is net/unifi, and this will allow users to upgrade theit mongodb4 install (mongodb only allows version+1 upgrades, so 4.4 -> 5.0 then 5.0 -> 6.0 etc @ text @$NetBSD: patch-src_mongo_db_query_collation_collator__interface__icu.h,v 1.1 2023/07/29 11:51:15 adam Exp $ Fix for newer ICU. --- src/mongo/db/query/collation/collator_interface_icu.h.orig 2025-12-22 22:01:16.000000000 +0000 +++ src/mongo/db/query/collation/collator_interface_icu.h @@@@ -33,9 +33,7 @@@@ #include -namespace icu { -class Collator; -} // namespace icu +#include namespace mongo { @@@@ -45,7 +43,7 @@@@ namespace mongo { */ class CollatorInterfaceICU final : public CollatorInterface { public: - CollatorInterfaceICU(Collation spec, std::unique_ptr collator); + CollatorInterfaceICU(Collation spec, std::unique_ptr collator); std::unique_ptr clone() const final; @@@@ -56,7 +54,7 @@@@ public: private: // The ICU implementation of the collator to which we delegate interesting work. Const methods // on the ICU collator are expected to be thread-safe. - const std::unique_ptr _collator; + const std::unique_ptr _collator; }; } // namespace mongo @