Fix missing #include for gcc-11
This commit is contained in:
parent
d8d5585ed8
commit
a9d9c10df2
12
qt5-qtmultimedia-gcc11.patch
Normal file
12
qt5-qtmultimedia-gcc11.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/examples/multimedia/spectrum/app/wavfile.cpp b/examples/multimedia/spectrum/app/wavfile.cpp
|
||||||
|
index 475200d..5c786c1 100644
|
||||||
|
--- a/examples/multimedia/spectrum/app/wavfile.cpp
|
||||||
|
+++ b/examples/multimedia/spectrum/app/wavfile.cpp
|
||||||
|
@@ -48,6 +48,7 @@
|
||||||
|
**
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
#include <qendian.h>
|
||||||
|
#include "wavfile.h"
|
||||||
|
|
@ -10,13 +10,14 @@
|
|||||||
Summary: Qt5 - Multimedia support
|
Summary: Qt5 - Multimedia support
|
||||||
Name: qt5-%{qt_module}
|
Name: qt5-%{qt_module}
|
||||||
Version: 5.15.1
|
Version: 5.15.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
||||||
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
||||||
Url: http://www.qt.io
|
Url: http://www.qt.io
|
||||||
%global majmin %(echo %{version} | cut -d. -f1-2)
|
%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
|
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz
|
||||||
|
Patch0: %{name}-gcc11.patch
|
||||||
|
|
||||||
# filter plugin/qml provides
|
# filter plugin/qml provides
|
||||||
%global __provides_exclude_from ^(%{_qt5_archdatadir}/qml/.*\\.so|%{_qt5_plugindir}/.*\\.so)$
|
%global __provides_exclude_from ^(%{_qt5_archdatadir}/qml/.*\\.so|%{_qt5_plugindir}/.*\\.so)$
|
||||||
@ -73,6 +74,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{qt_module}-everywhere-src-%{version}
|
%setup -q -n %{qt_module}-everywhere-src-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -147,6 +149,9 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 16 2020 Jeff Law <law@redhat.com> - 5.15.1-2
|
||||||
|
- Fix missing #include for gcc-11
|
||||||
|
|
||||||
* Thu Sep 10 2020 Jan Grulich <jgrulich@redhat.com> - 5.15.1-1
|
* Thu Sep 10 2020 Jan Grulich <jgrulich@redhat.com> - 5.15.1-1
|
||||||
- 5.15.1
|
- 5.15.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user