Commit dc803520 authored by Alberto Garcia's avatar Alberto Garcia
Browse files

Fix a FTBFS in mipsel64

parent e0866f7c
......@@ -3,6 +3,8 @@ webkit2gtk (2.28.1-2) UNRELEASED; urgency=medium
* The WebKitGTK security advisory WSA-2020-0004 lists the following
security fixes in the latest versions of WebKitGTK:
+ CVE-2020-11793 (fixed in 2.28.1).
* fix-ftbfs-mips64el.patch:
+ Fix a FTBFS in mipsel64.
-- Alberto Garcia <berto@igalia.com> Sun, 19 Apr 2020 17:09:59 +0200
......
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;
......@@ -8,3 +8,4 @@ user-agent-branding.patch
prefer-pthread.patch
dont-detect-sse2.patch
reduce-memory-overheads.patch
fix-ftbfs-mips64el.patch
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment