head 1.2; access; symbols pkgsrc-2020Q3:1.1.0.4 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.2 pkgsrc-2020Q2-base:1.1; locks; strict; comment @// @; 1.2 date 2020.11.21.09.45.39; author wiz; state dead; branches; next 1.1; commitid 9den0ljxmrNJMJwC; 1.1 date 2020.04.09.09.40.47; author jperkin; state Exp; branches; next ; commitid m5gEuyDzbvcz1H3C; desc @@ 1.2 log @mozjs60: remove Use mozjs68 or mozjs78 instead. No package in pkgsrc still needs this version. @ text @$NetBSD: patch-wasm_WasmSignalHandlers.cpp,v 1.1 2020/04/09 09:40:47 jperkin Exp $ Fix build on SunOS/x86_64. --- wasm/WasmSignalHandlers.cpp.orig 2019-07-01 09:07:44.000000000 +0000 +++ wasm/WasmSignalHandlers.cpp @@@@ -138,6 +138,7 @@@@ struct AutoSignalHandler { #define EBP_sig(p) ((p)->uc_mcontext.gregs[REG_EBP]) #define ESP_sig(p) ((p)->uc_mcontext.gregs[REG_ESP]) #else +#include #define XMM_sig(p, i) ((p)->uc_mcontext.fpregs.fp_reg_set.fpchip_state.xmm[i]) #define EIP_sig(p) ((p)->uc_mcontext.gregs[REG_PC]) #define EBP_sig(p) ((p)->uc_mcontext.gregs[REG_EBP]) @ 1.1 log @mozjs60: Forward port required SunOS patches. @ text @d1 1 a1 1 $NetBSD$ @