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.17.46.18; author wiz; state Exp; branches; next ; commitid FmoE5rMX6fNO0oWG; desc @@ 1.1 log @basilisk: fix build fix pkglint while here. @ text @$NetBSD$ Fix type error objected to by gcc12, but not gcc10. --- platform/js/src/wasm/WasmSignalHandlers.cpp.orig 2026-06-09 16:07:37.000000000 +0000 +++ platform/js/src/wasm/WasmSignalHandlers.cpp @@@@ -174,7 +174,7 @@@@ class AutoSetHandlingSegFault # define RFP_sig(p) ((p)->uc_mcontext.__gregs[22]) # 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 RIP_sig(p) ((p)->uc_mcontext.__gregs[_REG_RIP]) # define RAX_sig(p) ((p)->uc_mcontext.__gregs[_REG_RAX]) @