summaryrefslogtreecommitdiff
path: root/www/webkitgtk4/patches/patch-Source_WTF_wtf_PageBlock_h
diff options
context:
space:
mode:
Diffstat (limited to 'www/webkitgtk4/patches/patch-Source_WTF_wtf_PageBlock_h')
-rw-r--r--www/webkitgtk4/patches/patch-Source_WTF_wtf_PageBlock_h12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/webkitgtk4/patches/patch-Source_WTF_wtf_PageBlock_h b/www/webkitgtk4/patches/patch-Source_WTF_wtf_PageBlock_h
new file mode 100644
index 0000000..e2da01a
--- /dev/null
+++ b/www/webkitgtk4/patches/patch-Source_WTF_wtf_PageBlock_h
@@ -0,0 +1,12 @@
1Index: Source/WTF/wtf/PageBlock.h
2--- Source/WTF/wtf/PageBlock.h.orig
3+++ Source/WTF/wtf/PageBlock.h
4@@ -55,6 +55,8 @@ constexpr size_t CeilingOnPageSize = 16 * KB;
5 constexpr size_t CeilingOnPageSize = 64 * KB;
6 #elif OS(WINDOWS) || CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(RISCV64)
7 constexpr size_t CeilingOnPageSize = 4 * KB;
8+#elif CPU(SPARC64)
9+constexpr size_t CeilingOnPageSize = 8 * KB;
10 #else
11 #error Must set CeilingOnPageSize in PageBlock.h when adding a new CPU architecture!
12 #endif