- Fix compilation problem with GCC 4.4

epel8
Michel Alexandre Salim 16 years ago
parent d8b8450a73
commit 38892817b7

@ -0,0 +1,10 @@
--- rubberband-1.2/src/vamp/RubberBandVampPlugin.cpp.gcc44 2008-07-08 11:43:30.000000000 -0400
+++ rubberband-1.2/src/vamp/RubberBandVampPlugin.cpp 2009-02-08 00:26:07.010884505 -0500
@@ -18,6 +18,7 @@
#include "sysutils.h"
#include <cmath>
+#include <cstdio>
using std::string;
using std::vector;

@ -1,6 +1,6 @@
Name: rubberband Name: rubberband
Version: 1.2 Version: 1.2
Release: 2%{?dist} Release: 3%{?dist}
Summary: Audio time-stretching and pitch-shifting library Summary: Audio time-stretching and pitch-shifting library
Group: System Environment/Libraries Group: System Environment/Libraries
@ -8,7 +8,8 @@ License: GPLv2+
URL: http://www.breakfastquay.com/rubberband/ URL: http://www.breakfastquay.com/rubberband/
Source0: http://www.breakfastquay.com/rubberband/files/rubberband-%{version}.tar.bz2 Source0: http://www.breakfastquay.com/rubberband/files/rubberband-%{version}.tar.bz2
Patch0: rubberband-1.2-gcc43.patch Patch0: rubberband-1.2-gcc43.patch
Patch1: rubberband-1.2-mk.patch Patch1: rubberband-1.2-gcc44.patch
Patch2: rubberband-1.2-mk.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: fftw-devel libsamplerate-devel libsndfile-devel BuildRequires: fftw-devel libsamplerate-devel libsndfile-devel
@ -34,7 +35,8 @@ developing applications that use %{name}.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .gcc43 %patch0 -p1 -b .gcc43
%patch1 -p1 -b .mk %patch1 -p1 -b .gcc44
%patch2 -p1 -b .mk
%build %build
@ -76,6 +78,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Sun Feb 8 2009 Michel Salim <salimma@fedoraproject.org> - 1.2-3
- Fix compilation problem with GCC 4.4
* Sun Dec 14 2008 Michel Salim <salimma@fedoraproject.org> - 1.2-2 * Sun Dec 14 2008 Michel Salim <salimma@fedoraproject.org> - 1.2-2
- Rebuild for vamp-plugins-sdk-2.0 - Rebuild for vamp-plugins-sdk-2.0

Loading…
Cancel
Save