summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-InlineASM.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/dyson-InlineASM.patch')
-rw-r--r--debian/patches/dyson-InlineASM.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/dyson-InlineASM.patch b/debian/patches/dyson-InlineASM.patch
new file mode 100644
index 0000000..c0d987d
--- /dev/null
+++ b/debian/patches/dyson-InlineASM.patch
@@ -0,0 +1,21 @@
+Index: webkit/Source/WTF/wtf/InlineASM.h
+===================================================================
+--- webkit.orig/Source/WTF/wtf/InlineASM.h
++++ webkit/Source/WTF/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(SOLARIS)) && CPU(X86_64)
+ #define GLOBAL_REFERENCE(name) #name "@plt"
+ #elif CPU(X86) && COMPILER(MINGW)
+ #define GLOBAL_REFERENCE(name) "@" #name "@4"
+@@ -82,6 +82,7 @@
+ #if OS(DARWIN)
+ #define LOCAL_LABEL_STRING(name) "L" #name
+ #elif OS(LINUX) \
++ || OS(SOLARIS) \
+ || OS(FREEBSD) \
+ || OS(OPENBSD) \
+ || OS(HURD) \