fix-ftbfs-mips64el.patch 850 Bytes
Newer Older
Alberto Garcia's avatar
Alberto Garcia committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From: Alberto Garcia <berto@igalia.com>
Subject: Add CeilingOnPageSize definition for MIPS64. Fixes a FTBFS.
Origin: https://trac.webkit.org/changeset/260179
Index: webkitgtk/Source/WTF/wtf/PageBlock.h
===================================================================
--- webkitgtk.orig/Source/WTF/wtf/PageBlock.h
+++ webkitgtk/Source/WTF/wtf/PageBlock.h
@@ -49,7 +49,7 @@ namespace WTF {
 // Use 64 KiB for any unknown CPUs to be conservative.
 #if OS(DARWIN)
 constexpr size_t CeilingOnPageSize = 16 * KB;
-#elif OS(WINDOWS) || CPU(MIPS) || CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64)
+#elif OS(WINDOWS) || CPU(MIPS) || CPU(MIPS64) || CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64)
 constexpr size_t CeilingOnPageSize = 4 * KB;
 #elif CPU(UNKNOWN) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE)
 constexpr size_t CeilingOnPageSize = 64 * KB;