diff options
author | mickybart | 2021-09-13 22:33:52 -0400 |
---|---|---|
committer | mickybart | 2021-09-13 22:33:52 -0400 |
commit | 7374ce5aaf4c14f6b82d73d9b3edeaf4bd034e1a (patch) | |
tree | 2eb305fe133c4c668d192ea0c625e2987f84f7db /qtbase-5.15.2-gcc11.patch | |
parent | 004a0103159192394f2205ee5d5db2ae70634435 (diff) | |
download | aur-7374ce5aaf4c14f6b82d73d9b3edeaf4bd034e1a.tar.gz |
gcc 11 + emsdk 2.0.29 + fix errno13
Diffstat (limited to 'qtbase-5.15.2-gcc11.patch')
-rw-r--r-- | qtbase-5.15.2-gcc11.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/qtbase-5.15.2-gcc11.patch b/qtbase-5.15.2-gcc11.patch new file mode 100644 index 000000000000..36327da6c944 --- /dev/null +++ b/qtbase-5.15.2-gcc11.patch @@ -0,0 +1,37 @@ +Description: include <limits> to fix some GCC 11 build issues +Origin: upstream, commits: + https://code.qt.io/cgit/qt/qtbase.git/commit/?id=813a928c7c3cf986 + https://code.qt.io/cgit/qt/qtbase.git/commit/?id=9c56d4da2ff631a8 +Last-Update: 2021-01-26 + +--- a/src/corelib/global/qendian.h ++++ b/src/corelib/global/qendian.h +@@ -44,6 +44,8 @@ + #include <QtCore/qfloat16.h> + #include <QtCore/qglobal.h> + ++#include <limits> ++ + // include stdlib.h and hope that it defines __GLIBC__ for glibc-based systems + #include <stdlib.h> + #include <string.h> +--- a/src/corelib/global/qfloat16.h ++++ b/src/corelib/global/qfloat16.h +@@ -43,6 +43,7 @@ + + #include <QtCore/qglobal.h> + #include <QtCore/qmetatype.h> ++#include <limits> + #include <string.h> + + #if defined(QT_COMPILER_SUPPORTS_F16C) && defined(__AVX2__) && !defined(__F16C__) +--- a/src/corelib/text/qbytearraymatcher.h ++++ b/src/corelib/text/qbytearraymatcher.h +@@ -42,6 +42,8 @@ + + #include <QtCore/qbytearray.h> + ++#include <limits> ++ + QT_BEGIN_NAMESPACE + |