From 38892817b7a6cc475987cd612e7d10334230c04d Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Sun, 8 Feb 2009 05:48:09 +0000 Subject: [PATCH] - Fix compilation problem with GCC 4.4 --- rubberband-1.2-gcc44.patch | 10 ++++++++++ rubberband.spec | 11 ++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 rubberband-1.2-gcc44.patch diff --git a/rubberband-1.2-gcc44.patch b/rubberband-1.2-gcc44.patch new file mode 100644 index 0000000..563d2f3 --- /dev/null +++ b/rubberband-1.2-gcc44.patch @@ -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 ++#include + + using std::string; + using std::vector; diff --git a/rubberband.spec b/rubberband.spec index fee8ccb..5034b61 100644 --- a/rubberband.spec +++ b/rubberband.spec @@ -1,6 +1,6 @@ Name: rubberband Version: 1.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Audio time-stretching and pitch-shifting library Group: System Environment/Libraries @@ -8,7 +8,8 @@ License: GPLv2+ URL: http://www.breakfastquay.com/rubberband/ Source0: http://www.breakfastquay.com/rubberband/files/rubberband-%{version}.tar.bz2 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) BuildRequires: fftw-devel libsamplerate-devel libsndfile-devel @@ -34,7 +35,8 @@ developing applications that use %{name}. %prep %setup -q %patch0 -p1 -b .gcc43 -%patch1 -p1 -b .mk +%patch1 -p1 -b .gcc44 +%patch2 -p1 -b .mk %build @@ -76,6 +78,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Feb 8 2009 Michel Salim - 1.2-3 +- Fix compilation problem with GCC 4.4 + * Sun Dec 14 2008 Michel Salim - 1.2-2 - Rebuild for vamp-plugins-sdk-2.0