qtwebengine fixes

This commit is contained in:
Justin Hammond 2023-04-29 16:37:45 +08:00
parent 020e19042e
commit 799a346fe6
2 changed files with 36 additions and 10 deletions

View file

@ -0,0 +1,25 @@
From 3bcf0fbf9248684b555f0f0eee57bd0633ea29f6 Mon Sep 17 00:00:00 2001
From: Justin Hammond <justin@dynam.ac>
Date: Sat, 29 Apr 2023 16:23:42 +0800
Subject: [PATCH] fix riscv64 build
---
chromium/v8/BUILD.gn | 2 ++
1 file changed, 2 insertions(+)
diff --git a/chromium/v8/BUILD.gn b/chromium/v8/BUILD.gn
index 100e43688f8..f1d373ea3c4 100644
--- a/chromium/v8/BUILD.gn
+++ b/chromium/v8/BUILD.gn
@@ -4409,6 +4409,8 @@ v8_source_set("v8_cppgc_shared") {
sources += [ "src/heap/base/asm/mips/push_registers_asm.cc" ]
} else if (current_cpu == "mips64el") {
sources += [ "src/heap/base/asm/mips64/push_registers_asm.cc" ]
+ } else if (current_cpu == "riscv64") {
+ sources += [ "src/heap/base/asm/riscv64/push_registers_asm.cc" ]
}
} else if (is_win) {
if (current_cpu == "x64") {
--
2.31.1

View file

@ -1,15 +1,16 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
#SRC_URI:append:riscv64 = "\
# file://0001-add-riscv64-support.patch \
# file://0002-don-t-try-to-link-gn-statically.patch \
# file://0003-add-riscv64-support-chromium.patch;patchdir=src/3rdparty \
# file://0004-add-riscv64-sandbox-support-chromium.patch;patchdir=src/3rdparty \
# file://0005-add-risc64-crashpad-support-chromium.patch;patchdir=src/3rdparty \
# file://0006-add-risc64-breakpad-support-chromium.patch;patchdir=src/3rdparty \
# file://0007-riscv64-add-support-to-chromium-v8.patch;patchdir=src/3rdparty \
# file://0008-some-fixes-for-external-ffmpeg-and-riscv64-builds.patch;patchdir=src/3rdparty \
#"
SRC_URI:append:riscv64 = "\
file://0001-add-riscv64-support.patch \
file://0002-don-t-try-to-link-gn-statically.patch \
file://0003-add-riscv64-support-chromium.patch;patchdir=src/3rdparty \
file://0004-add-riscv64-sandbox-support-chromium.patch;patchdir=src/3rdparty \
file://0005-add-risc64-crashpad-support-chromium.patch;patchdir=src/3rdparty \
file://0006-add-risc64-breakpad-support-chromium.patch;patchdir=src/3rdparty \
file://0007-riscv64-add-support-to-chromium-v8.patch;patchdir=src/3rdparty \
file://0008-some-fixes-for-external-ffmpeg-and-riscv64-builds.patch;patchdir=src/3rdparty \
file://0009-fix-riscv64-build.patch;patchdir=src/3rdparty \
"
PACKAGECONFIG:append = " icu ffmpeg harfbuzz opus libwebp libvpx libevent libpng glib zlib pulseaudio"