From 92d54be896563102786238893a9c645b8bdb43ef Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 13 Feb 2021 12:37:36 +0100 Subject: dev-qt/qtcore: Fix headers for revdeps building with GCC-11 Closes: https://bugs.gentoo.org/768342 Closes: https://bugs.gentoo.org/768354 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner --- dev-qt/qtcore/files/qtcore-5.15.2-gcc11.patch | 38 +++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 dev-qt/qtcore/files/qtcore-5.15.2-gcc11.patch (limited to 'dev-qt/qtcore/files/qtcore-5.15.2-gcc11.patch') diff --git a/dev-qt/qtcore/files/qtcore-5.15.2-gcc11.patch b/dev-qt/qtcore/files/qtcore-5.15.2-gcc11.patch new file mode 100644 index 000000000000..9d391311c345 --- /dev/null +++ b/dev-qt/qtcore/files/qtcore-5.15.2-gcc11.patch @@ -0,0 +1,38 @@ +Description: include to fix some GCC 11 build issues +Origin: upstream, commits: + https://code.qt.io/cgit/qt/qtbase.git/commit/?id=813a928c7c3cf986 + https://code.qt.io/cgit/qt/qtbase.git/commit/?id=9c56d4da2ff631a8 +Last-Update: 2021-01-26 + +--- a/src/corelib/global/qendian.h ++++ b/src/corelib/global/qendian.h +@@ -44,6 +44,8 @@ + #include + #include + ++#include ++ + // include stdlib.h and hope that it defines __GLIBC__ for glibc-based systems + #include + #include +--- a/src/corelib/global/qfloat16.h ++++ b/src/corelib/global/qfloat16.h +@@ -43,6 +43,7 @@ + + #include + #include ++#include + #include + + #if defined(QT_COMPILER_SUPPORTS_F16C) && defined(__AVX2__) && !defined(__F16C__) +--- a/src/corelib/text/qbytearraymatcher.h ++++ b/src/corelib/text/qbytearraymatcher.h +@@ -42,6 +42,8 @@ + + #include + ++#include ++ + QT_BEGIN_NAMESPACE + + -- cgit v1.2.3-65-gdbad