From 08bb4bf143afcb1b3e258705bb4eeb97ad1f498c Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Dec 14 2019 18:33:20 +0000 Subject: Fix missing #include for gcc-10 --- diff --git a/gcc10.patch b/gcc10.patch new file mode 100644 index 0000000..6d4223a --- /dev/null +++ b/gcc10.patch @@ -0,0 +1,11 @@ +diff -Nrup a/src/mpdpp.h b/src/mpdpp.h +--- a/src/mpdpp.h 2018-04-11 12:40:52.000000000 -0600 ++++ b/src/mpdpp.h 2019-09-23 16:16:18.576652169 -0600 +@@ -23,6 +23,7 @@ + + #include + #include ++#include + #include + #include + #include diff --git a/ncmpcpp.spec b/ncmpcpp.spec index 538c24c..7699bb3 100644 --- a/ncmpcpp.spec +++ b/ncmpcpp.spec @@ -1,10 +1,11 @@ Name: ncmpcpp Version: 0.8.2 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Featureful ncurses based MPD client inspired by ncmpc License: GPLv2+ URL: http://ncmpcpp.rybczak.net/ Source0: http://ncmpcpp.rybczak.net/stable/%{name}-%{version}.tar.bz2 +Patch0: gcc10.patch BuildRequires: gcc-c++ BuildRequires: curl-devel @@ -34,6 +35,7 @@ A featureful ncurses based MPD client inspired by ncmpc. The main features are: %prep %setup -q +%patch0 -p1 %build @@ -53,6 +55,9 @@ make DESTDIR="%{buildroot}" INSTALL="install -p" docdir=%{?_pkgdocdir}%{!?_pkgdo %changelog +* Sat Dec 14 2019 Jeff Law - 0.8.2-12 +- Fix missing #include for gcc-10 + * Sun Nov 03 2019 Dominic Hopf - 0.8.2-2 - Enable fftw support (RHBZ#1639480)