From c1b6859c524d8abd16d15d65aca63e81fa21d0d2 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Tue, 3 Feb 2026 20:18:17 +0200 Subject: [PATCH] Update package version to 6.10.2 --- pkg.info | 6 +++-- source-files/glibc-2.42-sys_seccomp.patch | 29 +++++++++++++++++++++++ source.sh | 5 ++++ 3 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 source-files/glibc-2.42-sys_seccomp.patch diff --git a/pkg.info b/pkg.info index 6979b32..ab4b69e 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,11 @@ name: qt6-webengine description: Provides support for web applications using the Chromium browser project -version: 6.10.1 +version: 6.10.2 revision: 1 url: https://www.qt.io/ license: GPL3-only,LGPL3-only,LicenseRef-Qt-Commercial,Qt-GPL-exception-1.0 +maintainers: + - enumdev@enumerated.dev architecture: any type: source depends: @@ -73,4 +75,4 @@ downloads: - url: https://download.qt.io/official_releases/qt/${BPM_PKG_VERSION%.*}/${BPM_PKG_VERSION}/submodules/qtwebengine-everywhere-src-${BPM_PKG_VERSION}.tar.xz extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: 77b5ea6186a0429a6b8e656faedd5cd3e8019d33856ee59637698ab578ead1e3 + checksum: 856eddf292a69a88618567deea67711b4ec720e69bcb575ed7bb539c9023961e diff --git a/source-files/glibc-2.42-sys_seccomp.patch b/source-files/glibc-2.42-sys_seccomp.patch new file mode 100644 index 0000000..0288cb2 --- /dev/null +++ b/source-files/glibc-2.42-sys_seccomp.patch @@ -0,0 +1,29 @@ +Fix FTBFS + +/usr/include/bits/siginfo-consts.h:219:3: error: expected identifier + 219 | SYS_SECCOMP = 1, /* Seccomp triggered. */ + | ^ +../../sandbox/linux/system_headers/linux_seccomp.h:220:39: note: expanded from macro 'SYS_SECCOMP' + 220 | #define SYS_SECCOMP 1 + | ^ +../../sandbox/linux/seccomp-bpf/trap.cc:159:46: error: use of undeclared identifier 'SYS_SECCOMP' + 159 | if (nr != LINUX_SIGSYS || info->si_code != SYS_SECCOMP || !ctx || + | ^~~~~~~~~~~ +/usr/include/bits/siginfo-consts.h:220:23: note: expanded from macro 'SYS_SECCOMP' + 220 | # define SYS_SECCOMP SYS_SECCOMP + +diff -up chromium-141.0.7390.122/sandbox/linux/system_headers/linux_seccomp.h.me chromium-141.0.7390.122/sandbox/linux/system_headers/linux_seccomp.h +--- chromium-141.0.7390.122/sandbox/linux/system_headers/linux_seccomp.h.me 2025-10-28 10:05:44.970248151 +0100 ++++ chromium-141.0.7390.122/sandbox/linux/system_headers/linux_seccomp.h 2025-10-28 10:05:52.291345772 +0100 +@@ -214,8 +214,11 @@ struct seccomp_notif_addfd { + #define SECCOMP_RET_INVALID 0x00010000U // Illegal return value + #endif + ++// check glibc version < 2.42 ++#if (__GLIBC__ < 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 42) + #ifndef SYS_SECCOMP + #define SYS_SECCOMP 1 + #endif ++#endif + + #endif // SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_ diff --git a/source.sh b/source.sh index bcd64c4..406043a 100644 --- a/source.sh +++ b/source.sh @@ -2,6 +2,11 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT +prepare() { + cd "$BPM_SOURCE"/src/3rdparty/chromium + patch -Np1 -i "$BPM_WORKDIR"/glibc-2.42-sys_seccomp.patch +} + # The build function is executed in the source directory # This function is used to compile the source code build() {