1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/qt5/hotfix-gcc11.patch
3 # Copyright (C) 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License as published by the Free Software
12 # Foundation; either version 2 of the License, or (at your option) any later
14 # --- T2-COPYRIGHT-NOTE-END ---
16 --- a/qtbase/src/corelib/global/qendian.h
17 +++ b/qtbase/src/corelib/global/qendian.h
19 #include <QtCore/qfloat16.h>
20 #include <QtCore/qglobal.h>
24 // include stdlib.h and hope that it defines __GLIBC__ for glibc-based systems
27 --- a/qtbase/src/corelib/global/qfloat16.h
28 +++ b/qtbase/src/corelib/global/qfloat16.h
31 #include <QtCore/qglobal.h>
32 #include <QtCore/qmetatype.h>
36 #if defined(QT_COMPILER_SUPPORTS_F16C) && defined(__AVX2__) && !defined(__F16C__)
37 --- qt-everywhere-src-5.15.2/qtdeclarative/src/3rdparty/masm/yarr/Yarr.h.vanilla 2021-09-17 12:37:34.382532326 +0200
38 +++ qt-everywhere-src-5.15.2/qtdeclarative/src/3rdparty/masm/yarr/Yarr.h 2021-09-17 12:38:29.380530133 +0200
45 #include "YarrErrorCode.h"
47 namespace JSC { namespace Yarr {
48 --- qt-everywhere-src-5.15.2/qtdeclarative/src/qmldebug/qqmlprofilerevent_p.h.vanilla 2021-09-17 12:57:54.284483685 +0200
49 +++ qt-everywhere-src-5.15.2/qtdeclarative/src/qmldebug/qqmlprofilerevent_p.h 2021-09-17 12:58:01.571483395 +0200
52 #include <initializer_list>
53 #include <type_traits>
58 --- qt-everywhere-src-5.15.2/qtbase/src/corelib/text/qbytearraymatcher.h.vanilla 2021-09-17 13:14:20.790444350 +0200
59 +++ qt-everywhere-src-5.15.2/qtbase/src/corelib/text/qbytearraymatcher.h 2021-09-17 13:15:27.717441682 +0200
62 #include <QtCore/qbytearray.h>
69 --- qt-everywhere-src-5.15.2/qtwebengine/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc.vanilla 2021-09-17 13:43:15.858375168 +0200
70 +++ qt-everywhere-src-5.15.2/qtwebengine/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc 2021-09-17 13:43:36.993374325 +0200
72 #include "common/linux/eintr_wrapper.h"
73 #include "third_party/lss/linux_syscall_support.h"
77 #if defined(__ANDROID__)
78 #include "linux/sched.h"
81 // SIGSTKSZ may be too small to prevent the signal handlers from overrunning
82 // the alternative stack. Ensure that the size of the alternative stack is
84 - static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ);
85 + static const unsigned kSigStackSize = std::max((long)16384, SIGSTKSZ);
87 // Only set an alternative stack if there isn't already one, or if the current
89 --- qt-everywhere-src-5.15.2/qtwebengine/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/containers/string_pool.h.vanilla 2021-09-17 14:36:12.522248505 +0200
90 +++ qt-everywhere-src-5.15.2/qtwebengine/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/containers/string_pool.h 2021-09-17 14:36:18.768248256 +0200
93 #include <unordered_map>
97 #include "perfetto/ext/base/optional.h"
98 #include "perfetto/ext/base/paged_memory.h"