head 1.1; access; symbols; locks; strict; comment @// @; 1.1 date 2026.09.22.16.47.11; 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$ Add cast to fix NetBSD XMM_sig definition for more recent compilers --- src/third_party/mozjs-60/extract/js/src/wasm/WasmSignalHandlers.cpp.orig 2026-09-21 19:20:42.429001143 +0000 +++ src/third_party/mozjs-60/extract/js/src/wasm/WasmSignalHandlers.cpp @@@@ -189,7 +189,7 @@@@ struct AutoSignalHandler # define R32_sig(p) ((p)->uc_mcontext.gp_regs[32]) # endif #elif defined(__NetBSD__) -# define XMM_sig(p,i) (((struct fxsave64*)(p)->uc_mcontext.__fpregs)->fx_xmm[i]) +# define XMM_sig(p,i) (((struct fxsave64*)&((p)->uc_mcontext.__fpregs))->fx_xmm[i]) # define EIP_sig(p) ((p)->uc_mcontext.__gregs[_REG_EIP]) # define EBP_sig(p) ((p)->uc_mcontext.__gregs[_REG_EBP]) # define ESP_sig(p) ((p)->uc_mcontext.__gregs[_REG_ESP]) @