pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/mongodb4



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sun Sep 20 13:35:01 UTC 2026

Modified Files:
        pkgsrc/databases/mongodb4: Makefile distinfo
Added Files:
        pkgsrc/databases/mongodb4/patches:
            patch-src_third__party_mozjs-60_extract_js_src_wasm_WasmSignalHandlers.cpp

Log Message:
databases/mongodb4: Fix type error objected to by gcc12 (NetBSD 11)

Resolves building under NetBSD 11.
Patch from Paul Ripke, who is running it with unifi.
Unifi starts for me with on NetBSD 11 (with no previous db).


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/databases/mongodb4/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/databases/mongodb4/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/databases/mongodb4/patches/patch-src_third__party_mozjs-60_extract_js_src_wasm_WasmSignalHandlers.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/mongodb4/Makefile
diff -u pkgsrc/databases/mongodb4/Makefile:1.29 pkgsrc/databases/mongodb4/Makefile:1.30
--- pkgsrc/databases/mongodb4/Makefile:1.29     Thu May 14 16:40:34 2026
+++ pkgsrc/databases/mongodb4/Makefile  Sun Sep 20 13:35:01 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2026/05/14 16:40:34 ryoon Exp $
+# $NetBSD: Makefile,v 1.30 2026/09/20 13:35:01 gdt Exp $
 
 DISTNAME=      mongodb-4.4.30
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mongodb/}
 GITHUB_TAG=    r${PKGVERSION_NOREV}

Index: pkgsrc/databases/mongodb4/distinfo
diff -u pkgsrc/databases/mongodb4/distinfo:1.10 pkgsrc/databases/mongodb4/distinfo:1.11
--- pkgsrc/databases/mongodb4/distinfo:1.10     Thu Feb 19 08:38:08 2026
+++ pkgsrc/databases/mongodb4/distinfo  Sun Sep 20 13:35:01 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2026/02/19 08:38:08 wiz Exp $
+$NetBSD: distinfo,v 1.11 2026/09/20 13:35:01 gdt Exp $
 
 BLAKE2s (mongodb-4.4.30.tar.gz) = 93a21d4ef5425b763642730a82d4e6d191159fd6d414029351997592133516b1
 SHA512 (mongodb-4.4.30.tar.gz) = 426678b25a209a1dd782c63216c688870d8062d24c86c87d7ab456ef5d27f5f9dd610a41c2b72c186417cff2641ea407fe95deecc5bb71d61c82727679c4883f
@@ -23,6 +23,7 @@ SHA1 (patch-src_third__party_IntelRDFPMa
 SHA1 (patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_src_bid__functions.h) = 0f00e7e1b710b3d19a936d5832ab08279bff48ee
 SHA1 (patch-src_third__party_asio-master_asio_include_asio_detail_impl_kqueue__reactor.ipp) = 49a74ef12f20c4b243d328a2cd8317aa1a668b18
 SHA1 (patch-src_third__party_boost-1.70.0_boost_asio_detail_impl_kqueue__reactor.ipp) = 0808636a4e01f9eda921b79360ca51c04bc43230
+SHA1 (patch-src_third__party_mozjs-60_extract_js_src_wasm_WasmSignalHandlers.cpp) = b241693f8c98ada1771e33038d48740af3f39419
 SHA1 (patch-src_third__party_mozjs-60_platform_aarch64_netbsd_build_js-confdefs.h) = bd4c0a282f898a20f331ce1fcf1451cc92d5677c
 SHA1 (patch-src_third__party_mozjs-60_platform_x86__64_netbsd_build_js-confdefs.h) = 2474fc221f0c59381c8529e986db1f3f67c405ec
 SHA1 (patch-src_third__party_s2_base_port.h) = 892ce91b5aaa432f34e1e7c169b7fd6eea2a3e94

Added files:

Index: pkgsrc/databases/mongodb4/patches/patch-src_third__party_mozjs-60_extract_js_src_wasm_WasmSignalHandlers.cpp
diff -u /dev/null pkgsrc/databases/mongodb4/patches/patch-src_third__party_mozjs-60_extract_js_src_wasm_WasmSignalHandlers.cpp:1.1
--- /dev/null   Sun Sep 20 13:35:02 2026
+++ pkgsrc/databases/mongodb4/patches/patch-src_third__party_mozjs-60_extract_js_src_wasm_WasmSignalHandlers.cpp        Sun Sep 20 13:35:01 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_third__party_mozjs-60_extract_js_src_wasm_WasmSignalHandlers.cpp,v 1.1 2026/09/20 13:35:01 gdt Exp $
+
+Fix type error objected to by gcc12, but not gcc10.
+
+--- src/third_party/mozjs-60/extract/js/src/wasm/WasmSignalHandlers.cpp.orig   2026-08-15 12:10:22.076014483 +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])



Home | Main Index | Thread Index | Old Index