summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-js_src_jit_AsmJSSignalHandlers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/patches/patch-js_src_jit_AsmJSSignalHandlers.cpp')
-rw-r--r--www/firefox/patches/patch-js_src_jit_AsmJSSignalHandlers.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/firefox/patches/patch-js_src_jit_AsmJSSignalHandlers.cpp b/www/firefox/patches/patch-js_src_jit_AsmJSSignalHandlers.cpp
new file mode 100644
index 00000000000..5455e754c25
--- /dev/null
+++ b/www/firefox/patches/patch-js_src_jit_AsmJSSignalHandlers.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-js_src_jit_AsmJSSignalHandlers.cpp,v 1.1 2013/09/19 12:37:50 ryoon Exp $
+
+--- js/src/jit/AsmJSSignalHandlers.cpp.orig 2013-09-10 03:43:36.000000000 +0000
++++ js/src/jit/AsmJSSignalHandlers.cpp
+@@ -269,7 +269,7 @@ LookupHeapAccess(const AsmJSModule &modu
+ # if defined(JS_CPU_X64)
+ # if defined(__DragonFly__)
+ # include <machine/npx.h> // for union savefpu
+-# elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__FreeBSD_kernel__)
++# elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__)
+ # include <machine/fpu.h> // for struct savefpu/fxsave64
+ # endif
+ # endif