From 1cd963a323b3feb7ff05cfe8a36a5ddd8f4ff1ac Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Oct 16 2020 20:02:08 +0000 Subject: Fix missing #include for gcc-11 --- diff --git a/qmmp-gcc11.patch b/qmmp-gcc11.patch new file mode 100644 index 0000000..7b0daed --- /dev/null +++ b/qmmp-gcc11.patch @@ -0,0 +1,12 @@ +diff --git a/src/qmmp/audioconverter.cpp b/src/qmmp/audioconverter.cpp +index c0dd1a2..201100a 100644 +--- a/src/qmmp/audioconverter.cpp ++++ b/src/qmmp/audioconverter.cpp +@@ -20,6 +20,7 @@ + + #include + #include ++#include + #include + #include + #include "audioconverter.h" diff --git a/qmmp.spec b/qmmp.spec index 0fd87d8..3552b2c 100644 --- a/qmmp.spec +++ b/qmmp.spec @@ -1,12 +1,13 @@ Name: qmmp Version: 1.4.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Qt-based multimedia player License: GPLv2+ and CC-BY-SAv4+ URL: http://qmmp.ylsoftware.com/ Source: http://qmmp.ylsoftware.com/files/%{name}-%{version}.tar.bz2 Source2: qmmp-filter-provides.sh +Patch0: qmmp-gcc11.patch %define _use_internal_dependency_generator 0 %define __find_provides %{SOURCE2} @@ -96,6 +97,7 @@ QMMP is Qt-based audio player. This package contains its development files. %prep %setup -q +%patch0 -p1 %build @@ -156,6 +158,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-enqueue.desk %{_libdir}/libqmmp*.so %changelog +* Fri Oct 15 2020 Jeff Law 1.4.2-2 +- Fix missing #include for gcc-11 + * Mon Sep 21 2020 Karel Volný 1.4.2-1 - new version 1.4.2 (#1880775) - see the upstream changelog at http://qmmp.ylsoftware.com/