Fix missing #include for gcc-10
This commit is contained in:
parent
156009407c
commit
08bb4bf143
|
@ -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 <cassert>
|
||||
#include <exception>
|
||||
+#include <stdexcept>
|
||||
#include <random>
|
||||
#include <set>
|
||||
#include <vector>
|
|
@ -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 <law@redhat.com> - 0.8.2-12
|
||||
- Fix missing #include for gcc-10
|
||||
|
||||
* Sun Nov 03 2019 Dominic Hopf <dmaphy@fedoraproject.org> - 0.8.2-2
|
||||
- Enable fftw support (RHBZ#1639480)
|
||||
|
||||
|
|
Loading…
Reference in New Issue