From 342d6e8c268064b312ecf012997d14b764931407 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 21 Mar 2025 11:03:55 -0700 Subject: [PATCH] webkitgtk: Fix build on RISCV Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- ...-on-RISCV-https-bugs.webkit.org-show.patch | 30 +++++++++++++++++++ meta/recipes-sato/webkit/webkitgtk_2.48.0.bb | 1 + 2 files changed, 31 insertions(+) create mode 100644 meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch b/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch new file mode 100644 index 00000000000..40a71330522 --- /dev/null +++ b/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch @@ -0,0 +1,30 @@ +From 984538dcce7b184269efc1e1b0fb78e1cb932b5d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 21 Mar 2025 01:21:22 -0700 +Subject: [PATCH] Fix build errors on RISCV + https://bugs.webkit.org/show_bug.cgi?id=290163 + +Reviewed by NOBODY (OOPS!). + +Include c++ header for std::error_code. + +* Source/WebCore/contentextensions/ContentExtensionActions.h: Include system_error + +Upstream-Status: Submitted [https://github.com/WebKit/WebKit/pull/42802] +Signed-off-by: Khem Raj +--- + Source/WebCore/contentextensions/ContentExtensionActions.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Source/WebCore/contentextensions/ContentExtensionActions.h b/Source/WebCore/contentextensions/ContentExtensionActions.h +index 0b75d2e1df78..61cb33c94ce8 100644 +--- a/Source/WebCore/contentextensions/ContentExtensionActions.h ++++ b/Source/WebCore/contentextensions/ContentExtensionActions.h +@@ -28,6 +28,7 @@ + #if ENABLE(CONTENT_EXTENSIONS) + + #include "ContentExtensionStringSerialization.h" ++#include + #include + #include + diff --git a/meta/recipes-sato/webkit/webkitgtk_2.48.0.bb b/meta/recipes-sato/webkit/webkitgtk_2.48.0.bb index bfd33835d1f..6eb80da1dea 100644 --- a/meta/recipes-sato/webkit/webkitgtk_2.48.0.bb +++ b/meta/recipes-sato/webkit/webkitgtk_2.48.0.bb @@ -18,6 +18,7 @@ SRC_URI = "https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \ file://sys_futex.patch \ file://0001-EnumTraits.h-error-no-matching-function-for-call-to-.patch \ file://0001-Cherry-pick-292304-main-7ffc29624258-.-https-bugs.we.patch \ + file://0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch \ " SRC_URI[sha256sum] = "94904a55cf12d44a4e36ceadafff02d46da73d76be9b4769f34cbfdf0eebf88e" -- 2.47.3