summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/fix-armv7-compilation.patch32
-rw-r--r--meta/recipes-sato/webkit/webkitgtk_2.48.5.bb1
2 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/fix-armv7-compilation.patch b/meta/recipes-sato/webkit/webkitgtk/fix-armv7-compilation.patch
new file mode 100644
index 0000000000..a857d55ae4
--- /dev/null
+++ b/meta/recipes-sato/webkit/webkitgtk/fix-armv7-compilation.patch
@@ -0,0 +1,32 @@
1From 7999ecd5ee4ea3123f7e75634d2bc57f57ca7070 Mon Sep 17 00:00:00 2001
2From: Justin Michaud <jmichaud@igalia.com>
3Date: Wed, 6 Aug 2025 21:14:26 +0300
4Subject: [PATCH] REGRESSION(2.48.5): [WPE][GTK] Does not compile on ARMv7
5 https://bugs.webkit.org/show_bug.cgi?id=296921
6
7Unreviewed build fix.
8
9* Source/JavaScriptCore/llint/WebAssembly.asm: Replace addq with addp
10 for sp on armv7
11
12Canonical link: https://commits.webkit.org/290945.344@webkitglib/2.48
13
14Upstream-Status: Backport [https://github.com/WebKit/WebKit/commit/7999ecd5ee4ea3123f7e75634d2bc57f57ca7070]
15Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
16---
17 Source/JavaScriptCore/llint/WebAssembly.asm | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/Source/JavaScriptCore/llint/WebAssembly.asm b/Source/JavaScriptCore/llint/WebAssembly.asm
21index 1ac3e2accf3c..bd9041404eb1 100644
22--- a/Source/JavaScriptCore/llint/WebAssembly.asm
23+++ b/Source/JavaScriptCore/llint/WebAssembly.asm
24@@ -736,7 +736,7 @@ if JSVALUE64
25 storep memoryBase, Callee[cfr]
26 else
27 loadp [sp], ws0
28- addq 2 * SlotSize, sp
29+ addp 2 * SlotSize, sp
30 storep ws0, Callee[cfr]
31 end
32
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.48.5.bb b/meta/recipes-sato/webkit/webkitgtk_2.48.5.bb
index 947996450d..35b8ee2a90 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.48.5.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.48.5.bb
@@ -18,6 +18,7 @@ SRC_URI = "https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
18 file://sys_futex.patch \ 18 file://sys_futex.patch \
19 file://0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch \ 19 file://0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch \
20 file://fix-ftbfs-riscv64.patch \ 20 file://fix-ftbfs-riscv64.patch \
21 file://fix-armv7-compilation.patch \
21 " 22 "
22SRC_URI[sha256sum] = "bb64ed9d1cfd58e8b5e89ccad71dd31adfed56336bad7695031ad0b668e1987c" 23SRC_URI[sha256sum] = "bb64ed9d1cfd58e8b5e89ccad71dd31adfed56336bad7695031ad0b668e1987c"
23 24