Update package version to 6.10.2
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
name: qt6-webengine
|
name: qt6-webengine
|
||||||
description: Provides support for web applications using the Chromium browser project
|
description: Provides support for web applications using the Chromium browser project
|
||||||
version: 6.10.1
|
version: 6.10.2
|
||||||
revision: 1
|
revision: 1
|
||||||
url: https://www.qt.io/
|
url: https://www.qt.io/
|
||||||
license: GPL3-only,LGPL3-only,LicenseRef-Qt-Commercial,Qt-GPL-exception-1.0
|
license: GPL3-only,LGPL3-only,LicenseRef-Qt-Commercial,Qt-GPL-exception-1.0
|
||||||
|
maintainers:
|
||||||
|
- [email protected]
|
||||||
architecture: any
|
architecture: any
|
||||||
type: source
|
type: source
|
||||||
depends:
|
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
|
- 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_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 1
|
extract_strip_components: 1
|
||||||
checksum: 77b5ea6186a0429a6b8e656faedd5cd3e8019d33856ee59637698ab578ead1e3
|
checksum: 856eddf292a69a88618567deea67711b4ec720e69bcb575ed7bb539c9023961e
|
||||||
|
|||||||
@@ -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_
|
||||||
@@ -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 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
|
# 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
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
|
|||||||
Reference in New Issue
Block a user