summaryrefslogtreecommitdiff
path: root/www/webkitgtk4/patches/patch-Source_WTF_wtf_InlineASM_h
diff options
context:
space:
mode:
Diffstat (limited to 'www/webkitgtk4/patches/patch-Source_WTF_wtf_InlineASM_h')
-rw-r--r--www/webkitgtk4/patches/patch-Source_WTF_wtf_InlineASM_h12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/webkitgtk4/patches/patch-Source_WTF_wtf_InlineASM_h b/www/webkitgtk4/patches/patch-Source_WTF_wtf_InlineASM_h
new file mode 100644
index 0000000..38594b2
--- /dev/null
+++ b/www/webkitgtk4/patches/patch-Source_WTF_wtf_InlineASM_h
@@ -0,0 +1,12 @@
1Index: Source/WTF/wtf/InlineASM.h
2--- Source/WTF/wtf/InlineASM.h.orig
3+++ Source/WTF/wtf/InlineASM.h
4@@ -43,7 +43,7 @@
5 #define THUMB_FUNC_PARAM(name)
6 #endif
7
8-#if (OS(LINUX) || OS(FREEBSD)) && CPU(X86_64)
9+#if (OS(LINUX) || OS(FREEBSD) || OS(OPENBSD)) && CPU(X86_64)
10 #define GLOBAL_REFERENCE(name) #name "@plt"
11 #elif CPU(X86) && COMPILER(MINGW)
12 #define GLOBAL_REFERENCE(name) "@" #name "@4"