Warning, /graphics/krita/3rdparty/ext_qt/0121-Fix-compilation-of-QtDeclarative-with-GCC11.patch is written in an unsupported language. File is not indexed.
0001 From 367293b18ab0d0a0432c1c8ce445fee052e5eee5 Mon Sep 17 00:00:00 2001 0002 From: Antonio Rojas <arojas@archlinux.org> 0003 Date: Sun, 23 May 2021 14:32:46 +0200 0004 Subject: [PATCH] Add missing limits include to fix build with GCC 11 0005 0006 This is not required for Qt 6, since it is indirectly pulled via 0007 qanystrigview.h, but it is for Qt 5 (where qanystrigview does 0008 not exist) and, in any case, it is good to declare all used headers 0009 and not rely on them being implicitly pulled. 0010 0011 Pick-to: 6.1 5.15 0012 Change-Id: I97606ea493e723006759608b7d4c4f00632f340c 0013 Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com> 0014 --- 0015 src/qmldebug/qqmlprofilerevent_p.h | 1 + 0016 1 file changed, 1 insertion(+) 0017 0018 diff --git a/src/qmldebug/qqmlprofilerevent_p.h b/src/qmldebug/qqmlprofilerevent_p.h 0019 index baadcf24334..d441165feff 100644 0020 --- a/src/qmldebug/qqmlprofilerevent_p.h 0021 +++ b/src/qmldebug/qqmlprofilerevent_p.h 0022 @@ -48,6 +48,7 @@ 0023 #include <QtCore/qmetatype.h> 0024 0025 #include <initializer_list> 0026 +#include <limits> 0027 #include <type_traits> 0028 0029 // 0030 -- 0031 2.16.3 0032