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_shell_linenoise__utf8.h,v 1.1 2023/07/29 11:51:15 adam Exp $ Use Boost swap instead of std. Fixes build on SunOS. --- src/mongo/shell/linenoise_utf8.h.orig 2019-01-30 14:26:33.000000000 +0000 +++ src/mongo/shell/linenoise_utf8.h @@@@ -29,6 +29,7 @@@@ * it in the license file. */ +#include #include #include #include @@@@ -176,9 +177,9 @@@@ struct UtfStringMixin { } void swap(UtfStringMixin& other) { - std::swap(_len, other._len); - std::swap(_cap, other._cap); - std::swap(_chars, other._chars); + boost::swap(_len, other._len); + boost::swap(_cap, other._cap); + boost::swap(_chars, other._chars); _str.swap(other._str); } @