From 60dc97fceef21b8cc1271ef7eca61e7bbee28513 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Wed, 9 Sep 2026 20:22:13 +0200 Subject: [PATCH] package/qt5/qt5webengine-chromium: fix build with glibc >= 2.43 No autobuilder errors were recorded, the build error can be reproduced with this defconfig: BR2_x86_64=y BR2_TOOLCHAIN_EXTERNAL=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_PACKAGE_MESA3D=y BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE=y BR2_PACKAGE_MESA3D_OPENGL_GLX=y BR2_PACKAGE_MESA3D_OPENGL_EGL=y BR2_PACKAGE_QT5=y BR2_PACKAGE_QT5WEBENGINE=y BR2_PACKAGE_XORG7=y Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- ...-Fix-build-with-glibc-2.43-and-above.patch | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 package/qt5/qt5webengine-chromium/0010-Fix-build-with-glibc-2.43-and-above.patch diff --git a/package/qt5/qt5webengine-chromium/0010-Fix-build-with-glibc-2.43-and-above.patch b/package/qt5/qt5webengine-chromium/0010-Fix-build-with-glibc-2.43-and-above.patch new file mode 100644 index 0000000000..3c3a202ad1 --- /dev/null +++ b/package/qt5/qt5webengine-chromium/0010-Fix-build-with-glibc-2.43-and-above.patch @@ -0,0 +1,41 @@ +From bf8bd5512920b28468d99b9ce550f0617e57d7f4 Mon Sep 17 00:00:00 2001 +From: Peter Varga +Date: Mon, 16 Feb 2026 16:12:58 +0100 +Subject: [PATCH] [sandbox] Fix build with glibc-2.43 and above +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes error: +//sandbox/linux/system_headers/linux_seccomp.h:218:39: error: expected identifier before numeric constant + 218 | #define SYS_SECCOMP 1 + | ^ +error: expected ‘}’ before numeric constant + +See https://crbug.com/456218403 + +Pick-to: 134-based 130-based 122-based +Change-Id: I5f2ea6826650b9eff6b4defff694f24e301f7663 +Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/713181 +Reviewed-by: Moss Heim + +Upstream: https://github.com/qt/qtwebengine-chromium/commit/bf8bd5512920b28468d99b9ce550f0617e57d7f4 + +[Bernd: backported patch] +Signed-off-by: Bernd Kuhls +--- + chromium/sandbox/linux/system_headers/linux_seccomp.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/chromium/sandbox/linux/system_headers/linux_seccomp.h b/chromium/sandbox/linux/system_headers/linux_seccomp.h +index 8690a96eb01b..8988836508c7 100644 +--- a/chromium/sandbox/linux/system_headers/linux_seccomp.h ++++ b/chromium/sandbox/linux/system_headers/linux_seccomp.h +@@ -6,6 +6,7 @@ + #define SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_ + + #include ++#include + + #include "build/build_config.h" +