From 20061cec4a1fa9f58a30d807e81b9b418637f7c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 13 Oct 2022 09:02:15 +0700 Subject: [PATCH] qt5-doc: fix build with gcc-12 --- srcpkgs/qt5-doc/patches/missing-include.patch | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/qt5-doc/patches/missing-include.patch diff --git a/srcpkgs/qt5-doc/patches/missing-include.patch b/srcpkgs/qt5-doc/patches/missing-include.patch new file mode 100644 index 00000000000..426932f25c4 --- /dev/null +++ b/srcpkgs/qt5-doc/patches/missing-include.patch @@ -0,0 +1,25 @@ +Index: qt-everywhere-src-5.15.2/qtbase/src/corelib/global/qfloat16.h +=================================================================== +--- qt-everywhere-src-5.15.2.orig/qtbase/src/corelib/global/qfloat16.h ++++ qt-everywhere-src-5.15.2/qtbase/src/corelib/global/qfloat16.h +@@ -43,6 +43,7 @@ + + #include + #include ++#include + #include + + #if defined(QT_COMPILER_SUPPORTS_F16C) && defined(__AVX2__) && !defined(__F16C__) +Index: qt-everywhere-src-5.15.2/qtbase/src/corelib/text/qbytearraymatcher.h +=================================================================== +--- qt-everywhere-src-5.15.2.orig/qtbase/src/corelib/text/qbytearraymatcher.h ++++ qt-everywhere-src-5.15.2/qtbase/src/corelib/text/qbytearraymatcher.h +@@ -42,6 +42,8 @@ + + #include + ++#include ++ + QT_BEGIN_NAMESPACE + +