diff --git a/SPECS/qt6-qtwebengine/0007-fix-misc-build-error.patch b/SPECS/qt6-qtwebengine/0007-fix-misc-build-error.patch new file mode 100644 index 0000000000..c380884080 --- /dev/null +++ b/SPECS/qt6-qtwebengine/0007-fix-misc-build-error.patch @@ -0,0 +1,24 @@ +diff --git a/src/3rdparty/chromium/base/strings/to_string.h b/src/3rdparty/chromium/base/strings/to_string.h +index 96e61da..5d09794 100644 +--- a/src/3rdparty/chromium/base/strings/to_string.h ++++ b/src/3rdparty/chromium/base/strings/to_string.h +@@ -6,6 +6,7 @@ + #define BASE_STRINGS_TO_STRING_H_ + + #include ++#include + #include + #include + #include +diff --git a/src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h b/src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h +index 8690a96..8988836 100644 +--- a/src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h ++++ b/src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h +@@ -6,6 +6,7 @@ + #define SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_ + + #include ++#include + #include + + #include "build/build_config.h" diff --git a/SPECS/qt6-qtwebengine/qt6-qtwebengine.spec b/SPECS/qt6-qtwebengine/qt6-qtwebengine.spec index cea264968a..143800c050 100644 --- a/SPECS/qt6-qtwebengine/qt6-qtwebengine.spec +++ b/SPECS/qt6-qtwebengine/qt6-qtwebengine.spec @@ -33,6 +33,7 @@ Patch3: 0004-riscv-sandbox.patch Patch4: 0005-riscv-v8.patch Patch5: 0006-riscv-enable-v8-webasm.patch %endif +Patch6: 0007-fix-misc-build-error.patch BuildOption(conf): -DCMAKE_TOOLCHAIN_FILE="%{_libdir}/cmake/Qt6/qt.toolchain.cmake" BuildOption(conf): -DFEATURE_webengine_build_gn=ON