diff --git a/qt5-qtwebsockets-gcc11.patch b/qt5-qtwebsockets-gcc11.patch new file mode 100644 index 0000000..5b33d7b --- /dev/null +++ b/qt5-qtwebsockets-gcc11.patch @@ -0,0 +1,12 @@ +diff --git a/src/websockets/qwebsocketprotocol.cpp b/src/websockets/qwebsocketprotocol.cpp +index df87a93..9556d18 100644 +--- a/src/websockets/qwebsocketprotocol.cpp ++++ b/src/websockets/qwebsocketprotocol.cpp +@@ -38,6 +38,7 @@ + ****************************************************************************/ + + #include "qwebsocketprotocol_p.h" ++#include + #include + #include + #include diff --git a/qt5-qtwebsockets.spec b/qt5-qtwebsockets.spec index 2e1efdd..dbc8b57 100644 --- a/qt5-qtwebsockets.spec +++ b/qt5-qtwebsockets.spec @@ -3,13 +3,14 @@ Summary: Qt5 - WebSockets 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 Url: http://qt-project.org/ %global majmin %(echo %{version} | cut -d. -f1-2) Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz +Patch0: %{name}-gcc11.patch # filter qml provides %global __provides_exclude_from ^%{_qt5_archdatadir}/qml/.*\\.so$ @@ -39,6 +40,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %prep %setup -q -n %{qt_module}-everywhere-src-%{version} +%patch0 -p1 %build @@ -87,6 +89,9 @@ popd %changelog +* Fri Oct 16 2020 Jeff Law - 5.15.1-2 +- Fix missing #include for gcc-11 + * Thu Sep 10 2020 Jan Grulich - 5.15.1-1 - 5.15.1