ports/www/webkitgtk4/patches/patch-Source_WTF_wtf_PageBlock_h

13 lines
513 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: Source/WTF/wtf/PageBlock.h
--- Source/WTF/wtf/PageBlock.h.orig
+++ Source/WTF/wtf/PageBlock.h
@@ -55,6 +55,8 @@ constexpr size_t CeilingOnPageSize = 16 * KB;
constexpr size_t CeilingOnPageSize = 64 * KB;
#elif OS(WINDOWS) || CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(RISCV64)
constexpr size_t CeilingOnPageSize = 4 * KB;
+#elif CPU(SPARC64)
+constexpr size_t CeilingOnPageSize = 8 * KB;
#else
#error Must set CeilingOnPageSize in PageBlock.h when adding a new CPU architecture!
#endif