One more instance of missing <limits> include has been found while building with a target GCC11. Extend the last patch to fix this.
Signed-off-by: Lucas Stach <[email protected]> --- ...8-qtbase-include-limits-where-necessary.patch | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/patches/qt-everywhere-src-5.15.2/0008-qtbase-include-limits-where-necessary.patch b/patches/qt-everywhere-src-5.15.2/0008-qtbase-include-limits-where-necessary.patch index 33138cc3623c..a7b82435a5ed 100644 --- a/patches/qt-everywhere-src-5.15.2/0008-qtbase-include-limits-where-necessary.patch +++ b/patches/qt-everywhere-src-5.15.2/0008-qtbase-include-limits-where-necessary.patch @@ -15,7 +15,8 @@ Signed-off-by: Lucas Stach <[email protected]> qtbase/src/corelib/global/qfloat16.h | 1 + qtbase/src/corelib/text/qbytearraymatcher.h | 2 ++ qtbase/src/corelib/tools/qoffsetstringarray_p.h | 1 + - 4 files changed, 6 insertions(+) + qtdeclarative/src/3rdparty/masm/yarr/Yarr.h | 2 ++ + 5 files changed, 8 insertions(+) diff --git a/qtbase/src/corelib/global/qendian.h b/qtbase/src/corelib/global/qendian.h index 257efbbdbecf..a97776c761b7 100644 @@ -67,3 +68,16 @@ index 4dd9e9603bc1..8b3fbfe55985 100644 #include <tuple> #include <array> +diff --git a/qtdeclarative/src/3rdparty/masm/yarr/Yarr.h b/qtdeclarative/src/3rdparty/masm/yarr/Yarr.h +index ccf78f988000..cd745256e9e1 100644 +--- a/qtdeclarative/src/3rdparty/masm/yarr/Yarr.h ++++ b/qtdeclarative/src/3rdparty/masm/yarr/Yarr.h +@@ -27,6 +27,8 @@ + + #pragma once + ++#include <limits> ++ + #include <limits.h> + #include "YarrErrorCode.h" + -- 2.29.2 _______________________________________________ ptxdist mailing list [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
