diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-03-04 14:39:11 -0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2021-03-04 23:48:49 +0100 |
commit | 29024f1e40d2890685aa07e771afe6b17d2875bd (patch) | |
tree | 705694abf377add97ab4c209466d0976ca9f5b03 /recipes-qt/qt5/qtdeclarative/0001-qmldebug-Include-limits-header.patch | |
parent | 36f4a9ccd15f5b12ba321f501306919427e42717 (diff) | |
download | meta-qt5-29024f1e40d2890685aa07e771afe6b17d2875bd.tar.gz |
qtdeclarative: Another fix for gcc11
This was left out since v1 not v2 of the prior patch was merged.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtdeclarative/0001-qmldebug-Include-limits-header.patch')
-rw-r--r-- | recipes-qt/qt5/qtdeclarative/0001-qmldebug-Include-limits-header.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtdeclarative/0001-qmldebug-Include-limits-header.patch b/recipes-qt/qt5/qtdeclarative/0001-qmldebug-Include-limits-header.patch new file mode 100644 index 00000000..d803a294 --- /dev/null +++ b/recipes-qt/qt5/qtdeclarative/0001-qmldebug-Include-limits-header.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From ab263a3e79a36d3e6536adc900b296cdf27f09ae Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 4 Mar 2021 14:37:06 -0800 | ||
4 | Subject: [PATCH] qmldebug: Include limits header | ||
5 | |||
6 | this is needed to solve | ||
7 | qmldebug/qqmlprofilerevent_p.h:314:65: error: 'numeric_limits' is not a member of 'std' | ||
8 | |||
9 | Its exposed bu gcc11 | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | src/qmldebug/qqmlprofilerevent_p.h | 1 + | ||
14 | 1 file changed, 1 insertion(+) | ||
15 | |||
16 | diff --git a/src/qmldebug/qqmlprofilerevent_p.h b/src/qmldebug/qqmlprofilerevent_p.h | ||
17 | index a7e37d1964..f778628f8c 100644 | ||
18 | --- a/src/qmldebug/qqmlprofilerevent_p.h | ||
19 | +++ b/src/qmldebug/qqmlprofilerevent_p.h | ||
20 | @@ -47,6 +47,7 @@ | ||
21 | #include <QtCore/qvarlengtharray.h> | ||
22 | #include <QtCore/qmetatype.h> | ||
23 | |||
24 | +#include <limits> | ||
25 | #include <initializer_list> | ||
26 | #include <type_traits> | ||
27 | |||
28 | -- | ||
29 | 2.30.1 | ||
30 | |||