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 00000000000..deb8e3ef247 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WTF_wtf_PageBlock_h @@ -0,0 +1,14 @@ +$OpenBSD: patch-Source_WTF_wtf_PageBlock_h,v 1.1 2020/04/25 20:04:14 jca Exp $ + +Index: Source/WTF/wtf/PageBlock.h +--- Source/WTF/wtf/PageBlock.h.orig ++++ Source/WTF/wtf/PageBlock.h +@@ -51,6 +51,8 @@ namespace WTF { + constexpr size_t CeilingOnPageSize = 16 * KB; + #elif OS(WINDOWS) || CPU(MIPS) || CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) + constexpr size_t CeilingOnPageSize = 4 * KB; ++#elif CPU(SPARC64) ++constexpr size_t CeilingOnPageSize = 8 * KB; + #elif CPU(UNKNOWN) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) + constexpr size_t CeilingOnPageSize = 64 * KB; + #else