From b8c71ac3c0c03c4cf57d84abb0727ad5e78081eb Mon Sep 17 00:00:00 2001 From: jca Date: Sat, 25 Apr 2020 20:04:14 +0000 Subject: [PATCH] Fix build on sparc64 ok ajacoutot@ (maintainer) --- .../patches/patch-Source_WTF_wtf_PageBlock_h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 www/webkitgtk4/patches/patch-Source_WTF_wtf_PageBlock_h 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