[packages/qt5-qtwebengine] add patch to fix build with glibc 2.43
atler
atler at pld-linux.org
Tue Feb 17 18:49:49 CET 2026
commit f00716df61f16f623854f12ededa6023937f32d2
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Feb 17 18:49:13 2026 +0100
add patch to fix build with glibc 2.43
glibc2.43.patch | 21 +++++++++++++++++++++
qt5-qtwebengine.spec | 2 ++
2 files changed, 23 insertions(+)
---
diff --git a/qt5-qtwebengine.spec b/qt5-qtwebengine.spec
index b899b32..7e75683 100644
--- a/qt5-qtwebengine.spec
+++ b/qt5-qtwebengine.spec
@@ -33,6 +33,7 @@ Patch7: ninja-1.12.patch
Patch8: system-ffmpeg-check.patch
Patch9: icu75.patch
Patch10: includes.patch
+Patch11: glibc2.43.patch
URL: https://www.qt.io/
BuildRequires: Qt5Core-devel >= %{qtbase_ver}
BuildRequires: Qt5Designer-devel >= %{qttools_ver}
@@ -302,6 +303,7 @@ Przykłady do biblioteki Qt5 WebEngine.
%patch -P7 -p1 -d src/3rdparty
%{?with_system_icu:%patch -P9 -p1 -d src/3rdparty}
%patch -P10 -p1 -d src/3rdparty
+%patch -P11 -p2
%if %{without system_re2}
# avoid finding system re2
diff --git a/glibc2.43.patch b/glibc2.43.patch
new file mode 100644
index 0000000..75b058d
--- /dev/null
+++ b/glibc2.43.patch
@@ -0,0 +1,21 @@
+--- qt-everywhere-src-6.10.1/qtwebengine/src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h.orig 2025-11-14 08:55:10.000000000 +0100
++++ qt-everywhere-src-6.10.1/qtwebengine/src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h 2026-01-29 22:52:59.857202173 +0100
+@@ -5,6 +5,7 @@
+ #ifndef SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_
+ #define SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_
+
++#include <features.h>
+ #include <stdint.h>
+
+ #include "build/build_config.h"
+@@ -214,8 +215,10 @@
+ #define SECCOMP_RET_INVALID 0x00010000U // Illegal return value
+ #endif
+
++#if !defined(__GLIBC__) || !defined(__GLIBC_MINOR__) || __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 43)
+ #ifndef SYS_SECCOMP
+ #define SYS_SECCOMP 1
+ #endif
++#endif
+
+ #endif // SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/qt5-qtwebengine.git/commitdiff/f00716df61f16f623854f12ededa6023937f32d2
More information about the pld-cvs-commit
mailing list