[packages/qt6] add fix for glibc 2.43

atler atler at pld-linux.org
Thu Jan 29 23:11:46 CET 2026


commit 6ba93044782b86944b1e910a64e986616165899b
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Jan 29 22:55:39 2026 +0100

    add fix for glibc 2.43

 glibc2.43.patch | 21 +++++++++++++++++++++
 qt6.spec        |  2 ++
 2 files changed, 23 insertions(+)
---
diff --git a/qt6.spec b/qt6.spec
index 48fd9f2..9289ee6 100644
--- a/qt6.spec
+++ b/qt6.spec
@@ -141,6 +141,7 @@ Patch3:		no-implicit-sse2.patch
 Patch4:		x32.patch
 Patch5:		qtwebengine-cmake-build-type.patch
 Patch6:		qtquick3d-6.6.2-gcc14.patch
+Patch7:		glibc2.43.patch
 URL:		https://www.qt.io/
 %{?with_directfb:BuildRequires:	DirectFB-devel}
 BuildRequires:	EGL-devel
@@ -3781,6 +3782,7 @@ narzędzia.
 %patch -P4 -p1
 %patch -P5 -p1
 %patch -P6 -p1 -d qtquick3d
+%patch -P7 -p1
 
 %{__sed} -i -e 's,usr/X11R6/,usr/,g' qtbase/mkspecs/linux-g++-64/qmake.conf
 
diff --git a/glibc2.43.patch b/glibc2.43.patch
new file mode 100644
index 0000000..3210e92
--- /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 <sys/ioctl.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/qt6.git/commitdiff/f5efd58194949de091609fd6696621ac35c8d677



More information about the pld-cvs-commit mailing list