summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-03-21 02:27:29 -0700
committerKhem Raj <raj.khem@gmail.com>2025-03-21 11:07:35 -0700
commit59d15aa1127bf978ed6788c802f6911d119db6f6 (patch)
treee3e814ea6fa4d0a89f3bfc34822bc0130f36c215
parent0906847f354a491eca78dd6602d5bf339441388c (diff)
downloadmeta-openembedded-59d15aa1127bf978ed6788c802f6911d119db6f6.tar.gz
webkitgtk3: Fix build with clang and riscv
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch30
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.0.bb1
2 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch
new file mode 100644
index 0000000000..40a7133052
--- /dev/null
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch
@@ -0,0 +1,30 @@
1From 984538dcce7b184269efc1e1b0fb78e1cb932b5d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 21 Mar 2025 01:21:22 -0700
4Subject: [PATCH] Fix build errors on RISCV
5 https://bugs.webkit.org/show_bug.cgi?id=290163
6
7Reviewed by NOBODY (OOPS!).
8
9Include c++ header <system_error> for std::error_code.
10
11* Source/WebCore/contentextensions/ContentExtensionActions.h: Include system_error
12
13Upstream-Status: Submitted [https://github.com/WebKit/WebKit/pull/42802]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 Source/WebCore/contentextensions/ContentExtensionActions.h | 1 +
17 1 file changed, 1 insertion(+)
18
19diff --git a/Source/WebCore/contentextensions/ContentExtensionActions.h b/Source/WebCore/contentextensions/ContentExtensionActions.h
20index 0b75d2e1df78..61cb33c94ce8 100644
21--- a/Source/WebCore/contentextensions/ContentExtensionActions.h
22+++ b/Source/WebCore/contentextensions/ContentExtensionActions.h
23@@ -28,6 +28,7 @@
24 #if ENABLE(CONTENT_EXTENSIONS)
25
26 #include "ContentExtensionStringSerialization.h"
27+#include <system_error>
28 #include <wtf/JSONValues.h>
29 #include <wtf/Hasher.h>
30
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.0.bb b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.0.bb
index 9a4101c4b4..10c2576407 100644
--- a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.0.bb
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.0.bb
@@ -19,6 +19,7 @@ SRC_URI = "https://www.webkitgtk.org/releases/webkitgtk-${PV}.tar.xz \
19 file://no-musttail-arm.patch \ 19 file://no-musttail-arm.patch \
20 file://0001-Cherry-pick-292304-main-7ffc29624258-.-https-bugs.we.patch \ 20 file://0001-Cherry-pick-292304-main-7ffc29624258-.-https-bugs.we.patch \
21 file://0001-EnumTraits.h-error-no-matching-function-for-call-to-.patch \ 21 file://0001-EnumTraits.h-error-no-matching-function-for-call-to-.patch \
22 file://0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch \
22 " 23 "
23SRC_URI[sha256sum] = "94904a55cf12d44a4e36ceadafff02d46da73d76be9b4769f34cbfdf0eebf88e" 24SRC_URI[sha256sum] = "94904a55cf12d44a4e36ceadafff02d46da73d76be9b4769f34cbfdf0eebf88e"
24 25