summaryrefslogtreecommitdiff
path: root/www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformCPU_h
diff options
context:
space:
mode:
Diffstat (limited to 'www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformCPU_h')
-rw-r--r--www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformCPU_h28
1 files changed, 28 insertions, 0 deletions
diff --git a/www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformCPU_h b/www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformCPU_h
new file mode 100644
index 0000000..1bebf1f
--- /dev/null
+++ b/www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformCPU_h
@@ -0,0 +1,28 @@
1https://bugs.webkit.org/show_bug.cgi?id=129963
2
3Index: Source/WTF/wtf/PlatformCPU.h
4--- Source/WTF/wtf/PlatformCPU.h.orig
5+++ Source/WTF/wtf/PlatformCPU.h
6@@ -89,6 +89,13 @@
7 #define WTF_CPU_KNOWN 1
8 #endif
9
10+/* CPU(SPARC64) - SPARC V9 */
11+#if defined(__sparc64__)
12+#define WTF_CPU_KNOWN 1
13+#define WTF_CPU_SPARC64 1
14+#define WTF_CPU_BIG_ENDIAN 1
15+#endif
16+
17 /* CPU(X86) - i386 / x86 32-bit */
18 #if defined(__i386__) \
19 || defined(i386) \
20@@ -289,7 +296,7 @@
21 #define WTF_CPU_UNKNOWN 1
22 #endif
23
24-#if CPU(ARM) || CPU(MIPS) || CPU(UNKNOWN)
25+#if CPU(ARM) || CPU(MIPS) || CPU(SPARC64) || CPU(UNKNOWN)
26 #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1
27 #endif
28