head 1.1; access; symbols pkgsrc-2026Q3:1.1.0.2 pkgsrc-2026Q3-base:1.1; locks; strict; comment @// @; 1.1 date 2026.09.20.18.22.28; author wiz; state Exp; branches; next ; commitid 8SHsAGagcflddoWG; desc @@ 1.1 log @seamonkey: apply a patch to make build progress Still doesn't build: ld: cannot find -lsmime: No such file or directory ld: cannot find -lnss: No such file or directory ld: cannot find -lnssutil: No such file or directory @ text @$NetBSD$ Fix type error objected to by gcc12, but not gcc10. --- js/src/wasm/WasmSignalHandlers.cpp.orig 2025-11-15 20:08:14.000000000 +0000 +++ js/src/wasm/WasmSignalHandlers.cpp @@@@ -179,7 +179,7 @@@@ struct AutoSignalHandler # define SP_sig(p) ((p)->uc_mcontext.mc_i7) # 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]) @