Blame SOURCES/qt5-qtbase-gcc11.patch

071e5f
diff --git a/src/corelib/codecs/qtextcodec.cpp b/src/corelib/codecs/qtextcodec.cpp
071e5f
index 06fd88da..dbff3239 100644
071e5f
--- a/src/corelib/codecs/qtextcodec.cpp
071e5f
+++ b/src/corelib/codecs/qtextcodec.cpp
071e5f
@@ -38,6 +38,7 @@
071e5f
 **
071e5f
 ****************************************************************************/
071e5f
 
071e5f
+#include <limits>
071e5f
 #include "qplatformdefs.h"
071e5f
 
071e5f
 #include "qtextcodec.h"
071e5f
diff --git a/src/corelib/codecs/qutfcodec.cpp b/src/corelib/codecs/qutfcodec.cpp
071e5f
index 8561f908..8128d3cf 100644
071e5f
--- a/src/corelib/codecs/qutfcodec.cpp
071e5f
+++ b/src/corelib/codecs/qutfcodec.cpp
071e5f
@@ -38,6 +38,8 @@
071e5f
 **
071e5f
 ****************************************************************************/
071e5f
 
071e5f
+#include <limits>
071e5f
+
071e5f
 #include "qutfcodec_p.h"
071e5f
 #include "qlist.h"
071e5f
 #include "qendian.h"
071e5f
diff --git a/src/corelib/global/qendian.cpp b/src/corelib/global/qendian.cpp
071e5f
index eb08b2f8..6b41b3dd 100644
071e5f
--- a/src/corelib/global/qendian.cpp
071e5f
+++ b/src/corelib/global/qendian.cpp
071e5f
@@ -38,6 +38,7 @@
071e5f
 **
071e5f
 ****************************************************************************/
071e5f
 
071e5f
+#include <limits>
071e5f
 #include "qendian.h"
071e5f
 
071e5f
 #include "qalgorithms.h"
071e5f
diff --git a/src/corelib/global/qfloat16.cpp b/src/corelib/global/qfloat16.cpp
071e5f
index c9733174..c62a1972 100644
071e5f
--- a/src/corelib/global/qfloat16.cpp
071e5f
+++ b/src/corelib/global/qfloat16.cpp
071e5f
@@ -38,6 +38,7 @@
071e5f
 **
071e5f
 ****************************************************************************/
071e5f
 
071e5f
+#include <limits>
071e5f
 #include "qfloat16.h"
071e5f
 #include "private/qsimd_p.h"
071e5f
 #include <cmath> // for fpclassify()'s return values
071e5f
diff --git a/src/corelib/global/qrandom.cpp b/src/corelib/global/qrandom.cpp
071e5f
index 10672c1f..6d5fd63e 100644
071e5f
--- a/src/corelib/global/qrandom.cpp
071e5f
+++ b/src/corelib/global/qrandom.cpp
071e5f
@@ -40,6 +40,7 @@
071e5f
 // for rand_s
071e5f
 #define _CRT_RAND_S
071e5f
 
071e5f
+#include <limits>
071e5f
 #include "qrandom.h"
071e5f
 #include "qrandom_p.h"
071e5f
 #include <qobjectdefs.h>
071e5f
diff --git a/src/corelib/plugin/qelfparser_p.cpp b/src/corelib/plugin/qelfparser_p.cpp
071e5f
index 13eee353..9e7a7a41 100644
071e5f
--- a/src/corelib/plugin/qelfparser_p.cpp
071e5f
+++ b/src/corelib/plugin/qelfparser_p.cpp
071e5f
@@ -37,6 +37,7 @@
071e5f
 **
071e5f
 ****************************************************************************/
071e5f
 
071e5f
+#include <limits>
071e5f
 #include "qelfparser_p.h"
071e5f
 
071e5f
 #if defined (Q_OF_ELF) && defined(Q_CC_GNU)
071e5f
diff --git a/src/corelib/plugin/qmachparser.cpp b/src/corelib/plugin/qmachparser.cpp
071e5f
index 11670caf..39f5596b 100644
071e5f
--- a/src/corelib/plugin/qmachparser.cpp
071e5f
+++ b/src/corelib/plugin/qmachparser.cpp
071e5f
@@ -37,6 +37,8 @@
071e5f
 **
071e5f
 ****************************************************************************/
071e5f
 
071e5f
+#include <limits>
071e5f
+
071e5f
 #include "qmachparser_p.h"
071e5f
 
071e5f
 #if defined(Q_OF_MACH_O)
071e5f
diff --git a/src/corelib/plugin/quuid.cpp b/src/corelib/plugin/quuid.cpp
071e5f
index 83873edf..5aafb4e5 100644
071e5f
--- a/src/corelib/plugin/quuid.cpp
071e5f
+++ b/src/corelib/plugin/quuid.cpp
071e5f
@@ -38,6 +38,7 @@
071e5f
 **
071e5f
 ****************************************************************************/
071e5f
 
071e5f
+#include <limits>
071e5f
 #include "quuid.h"
071e5f
 
071e5f
 #include "qcryptographichash.h"
071e5f
diff --git a/src/corelib/serialization/qdatastream.cpp b/src/corelib/serialization/qdatastream.cpp
071e5f
index 5082a8cb..7eecfcca 100644
071e5f
--- a/src/corelib/serialization/qdatastream.cpp
071e5f
+++ b/src/corelib/serialization/qdatastream.cpp
071e5f
@@ -40,6 +40,8 @@
071e5f
 #include "qdatastream.h"
071e5f
 #include "qdatastream_p.h"
071e5f
 
071e5f
+#include <limits>
071e5f
+
071e5f
 #if !defined(QT_NO_DATASTREAM) || defined(QT_BOOTSTRAPPED)
071e5f
 #include "qbuffer.h"
071e5f
 #include "qfloat16.h"
071e5f
diff --git a/src/corelib/text/qbytearray.cpp b/src/corelib/text/qbytearray.cpp
071e5f
index 9a72df58..6651ee98 100644
071e5f
--- a/src/corelib/text/qbytearray.cpp
071e5f
+++ b/src/corelib/text/qbytearray.cpp
071e5f
@@ -39,6 +39,7 @@
071e5f
 **
071e5f
 ****************************************************************************/
071e5f
 
071e5f
+#include <limits>
071e5f
 #include "qbytearray.h"
071e5f
 #include "qbytearraymatcher.h"
071e5f
 #include "private/qtools_p.h"
071e5f
diff --git a/src/corelib/text/qbytearraymatcher.cpp b/src/corelib/text/qbytearraymatcher.cpp
071e5f
index 72e09226..80511cb5 100644
071e5f
--- a/src/corelib/text/qbytearraymatcher.cpp
071e5f
+++ b/src/corelib/text/qbytearraymatcher.cpp
071e5f
@@ -37,6 +37,7 @@
071e5f
 **
071e5f
 ****************************************************************************/
071e5f
 
071e5f
+#include <limits>
071e5f
 #include "qbytearraymatcher.h"
071e5f
 
071e5f
 #include <limits.h>
071e5f
diff --git a/src/corelib/tools/qbitarray.cpp b/src/corelib/tools/qbitarray.cpp
071e5f
index ab3054d5..22efb3a0 100644
071e5f
--- a/src/corelib/tools/qbitarray.cpp
071e5f
+++ b/src/corelib/tools/qbitarray.cpp
071e5f
@@ -38,6 +38,7 @@
071e5f
 **
071e5f
 ****************************************************************************/
071e5f
 
071e5f
+#include <limits>
071e5f
 #include "qbitarray.h"
071e5f
 #include <qalgorithms.h>
071e5f
 #include <qdatastream.h>
071e5f
diff --git a/src/corelib/tools/qcryptographichash.cpp b/src/corelib/tools/qcryptographichash.cpp
071e5f
index fa8d21e0..cd85956d 100644
071e5f
--- a/src/corelib/tools/qcryptographichash.cpp
071e5f
+++ b/src/corelib/tools/qcryptographichash.cpp
071e5f
@@ -38,6 +38,7 @@
071e5f
 **
071e5f
 ****************************************************************************/
071e5f
 
071e5f
+#include <limits>
071e5f
 #include <qcryptographichash.h>
071e5f
 #include <qiodevice.h>
071e5f
 
071e5f
diff --git a/src/gui/text/qfontengine_qpf2.cpp b/src/gui/text/qfontengine_qpf2.cpp
071e5f
index e00f9d05..917ab5f9 100644
071e5f
--- a/src/gui/text/qfontengine_qpf2.cpp
071e5f
+++ b/src/gui/text/qfontengine_qpf2.cpp
071e5f
@@ -37,6 +37,7 @@
071e5f
 **
071e5f
 ****************************************************************************/
071e5f
 
071e5f
+#include <limits>
071e5f
 #include "qfontengine_qpf2_p.h"
071e5f
 
071e5f
 #include <QtCore/QFile>