Fix build on sparc64
ok ajacoutot@ (maintainer)
This commit is contained in:
parent
a7461e2826
commit
b8c71ac3c0
14
www/webkitgtk4/patches/patch-Source_WTF_wtf_PageBlock_h
Normal file
14
www/webkitgtk4/patches/patch-Source_WTF_wtf_PageBlock_h
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user