diff options
author | Thomas Orgis | 2021-08-04 16:22:24 +0200 |
---|---|---|
committer | Thomas Orgis | 2021-08-04 16:22:24 +0200 |
commit | 217cc0c6ebf578d14c7a448478bbed6ed8a33c50 (patch) | |
tree | cfa7e200afc63c2fa289af32100d050c4658dcd8 /qt5 | |
parent | 81d356ccc7e000c174dedf22273d02bbcea9f901 (diff) |
qtdeclarative: fix build with GCC 11
Diffstat (limited to 'qt5')
-rw-r--r-- | qt5/qtdeclarative/HISTORY | 3 | ||||
-rwxr-xr-x | qt5/qtdeclarative/PRE_BUILD | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/qt5/qtdeclarative/HISTORY b/qt5/qtdeclarative/HISTORY index 74739d4a5b..a2c020fe83 100644 --- a/qt5/qtdeclarative/HISTORY +++ b/qt5/qtdeclarative/HISTORY @@ -1,3 +1,6 @@ +2021-08-04 Thomas Orgis <sobukus@sourcemage.org> + * PRE_BUILD: fix GCC 11 build + 2020-11-19 Treeve Jelbert <treeve@sourcemage.org> * DETAILS: version 5.15.2 diff --git a/qt5/qtdeclarative/PRE_BUILD b/qt5/qtdeclarative/PRE_BUILD new file mode 100755 index 0000000000..9fc9ef9834 --- /dev/null +++ b/qt5/qtdeclarative/PRE_BUILD @@ -0,0 +1,16 @@ +default_pre_build && +cd "$SOURCE_DIRECTORY" && +# GCC 11 fix +patch -p0 <<EOT + diff -u ./src/qmldebug/qqmlprofilerevent_p.h{.orig,} +--- ./src/qmldebug/qqmlprofilerevent_p.h.orig 2021-08-04 16:12:35.790447494 +0200 ++++ ./src/qmldebug/qqmlprofilerevent_p.h 2021-08-04 16:13:03.205449096 +0200 +@@ -49,6 +49,7 @@ + + #include <initializer_list> + #include <type_traits> ++#include <limits> + + // + // W A R N I N G +EOT |