summaryrefslogtreecommitdiff
path: root/www/webkit-gtk/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'www/webkit-gtk/patches/patch-aj')
-rw-r--r--www/webkit-gtk/patches/patch-aj13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/webkit-gtk/patches/patch-aj b/www/webkit-gtk/patches/patch-aj
new file mode 100644
index 00000000000..e85a5c156da
--- /dev/null
+++ b/www/webkit-gtk/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2012/04/28 14:12:16 drochner Exp $
+
+--- Source/JavaScriptCore/wtf/InlineASM.h.orig 2012-04-25 13:01:47.000000000 +0000
++++ Source/JavaScriptCore/wtf/InlineASM.h
+@@ -42,7 +42,7 @@
+ #define THUMB_FUNC_PARAM(name)
+ #endif
+
+-#if (OS(LINUX) || OS(FREEBSD)) && CPU(X86_64)
++#if (OS(LINUX) || OS(FREEBSD) || OS(NETBSD) || OS(SOLARIS)) && CPU(X86_64) || (OS(SOLARIS) && CPU(X86))
+ #define SYMBOL_STRING_RELOCATION(name) #name "@plt"
+ #elif OS(DARWIN) || (CPU(X86_64) && COMPILER(MINGW) && !GCC_VERSION_AT_LEAST(4, 5, 0))
+ #define SYMBOL_STRING_RELOCATION(name) "_" #name