summaryrefslogtreecommitdiff
path: root/mail/thunderbird10/patches/patch-mozilla_js_src_methodjit_MethodJIT.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird10/patches/patch-mozilla_js_src_methodjit_MethodJIT.cpp')
-rw-r--r--mail/thunderbird10/patches/patch-mozilla_js_src_methodjit_MethodJIT.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/thunderbird10/patches/patch-mozilla_js_src_methodjit_MethodJIT.cpp b/mail/thunderbird10/patches/patch-mozilla_js_src_methodjit_MethodJIT.cpp
new file mode 100644
index 00000000000..9503e5456bf
--- /dev/null
+++ b/mail/thunderbird10/patches/patch-mozilla_js_src_methodjit_MethodJIT.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-mozilla_js_src_methodjit_MethodJIT.cpp,v 1.1.1.1 2012/03/15 09:45:29 ryoon Exp $
+
+--- mozilla/js/src/methodjit/MethodJIT.cpp.orig 2012-02-16 10:25:04.000000000 +0000
++++ mozilla/js/src/methodjit/MethodJIT.cpp
+@@ -171,7 +171,7 @@ SetVMFrameRegs(VMFrame &f)
+
+ JS_STATIC_ASSERT(offsetof(FrameRegs, sp) == 0);
+
+-#if defined(__linux__) && defined(JS_CPU_X64)
++#if defined(__ELF__) && defined(JS_CPU_X64)
+ # define SYMBOL_STRING_RELOC(name) #name "@plt"
+ #else
+ # define SYMBOL_STRING_RELOC(name) SYMBOL_STRING(name)