qt5base - add missing includes for newer gcc versions (limits.h)
authorMirko Vogt <[email protected]>
Mon, 12 May 2025 01:01:30 +0000 (01:01 +0000)
committerMirko Vogt <[email protected]>
Thu, 22 May 2025 10:58:15 +0000 (10:58 +0000)
With gcc11+ certain headers are not included by default anymore - see:
https://www.gnu.org/software/gcc/gcc-11/porting_to.html#header-dep-changes

frameworks/qt5/qt5base/patches/200-header-dep-fix.patch [new file with mode: 0644]

diff --git a/frameworks/qt5/qt5base/patches/200-header-dep-fix.patch b/frameworks/qt5/qt5base/patches/200-header-dep-fix.patch
new file mode 100644 (file)
index 0000000..a5c15b4
--- /dev/null
@@ -0,0 +1,10 @@
+--- ./src/corelib/text/qbytearraymatcher.h     2021-06-29 13:23:13.369547140 +0200
++++ ./src/corelib/text/qbytearraymatcher.h.new 2021-06-29 13:12:07.634947925 +0200
+@@ -41,6 +41,7 @@
+ #define QBYTEARRAYMATCHER_H
+ #include <QtCore/qbytearray.h>
++#include <limits>
+ QT_BEGIN_NAMESPACE
+