diff --git a/qt5-qtdeclarative-gcc11.patch b/qt5-qtdeclarative-gcc11.patch new file mode 100644 index 0000000..1af4ac1 --- /dev/null +++ b/qt5-qtdeclarative-gcc11.patch @@ -0,0 +1,25 @@ +diff --git a/src/qml/jsruntime/qv4regexp.cpp b/src/qml/jsruntime/qv4regexp.cpp +index 76daead8..4f707703 100644 +--- a/src/qml/jsruntime/qv4regexp.cpp ++++ b/src/qml/jsruntime/qv4regexp.cpp +@@ -37,6 +37,7 @@ + ** + ****************************************************************************/ + ++#include + #include "qv4regexp_p.h" + #include "qv4engine_p.h" + #include "qv4scopedvalue_p.h" +diff --git a/src/qmldebug/qqmlprofilerevent_p.h b/src/qmldebug/qqmlprofilerevent_p.h +index a7e37d19..21c3b465 100644 +--- a/src/qmldebug/qqmlprofilerevent_p.h ++++ b/src/qmldebug/qqmlprofilerevent_p.h +@@ -40,6 +40,8 @@ + #ifndef QQMLPROFILEREVENT_P_H + #define QQMLPROFILEREVENT_P_H + ++#include ++ + #include "qqmlprofilerclientdefinitions_p.h" + + #include diff --git a/qt5-qtdeclarative.spec b/qt5-qtdeclarative.spec index 426490b..7021a38 100644 --- a/qt5-qtdeclarative.spec +++ b/qt5-qtdeclarative.spec @@ -8,7 +8,7 @@ Summary: Qt5 - QtDeclarative component Name: qt5-%{qt_module} Version: 5.15.1 -Release: 1%{?dist} +Release: 2%{?dist} # See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details License: LGPLv2 with exceptions or GPLv3 with exceptions @@ -23,6 +23,7 @@ Source5: qv4global_p-multilib.h ## upstream patches ## upstreamable patches +Patch0: %{name}-gcc11.patch # filter qml provides %global __provides_exclude_from ^%{_qt5_archdatadir}/qml/.*\\.so$ @@ -77,6 +78,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %prep %setup -q -n %{qt_module}-everywhere-src-%{version} +%patch0 -p1 %build @@ -199,6 +201,9 @@ make check -k -C tests ||: %changelog +* Fri Oct 16 2020 Jeff Law - 5.15.1-2 +- Fix missing #includes for gcc-11 + * Thu Sep 10 2020 Jan Grulich - 5.15.1-1 - 5.15.1