diff --git a/soundtouch-1.3.1-gcc43.patch b/soundtouch-1.3.1-gcc43.patch new file mode 100644 index 0000000..0560c15 --- /dev/null +++ b/soundtouch-1.3.1-gcc43.patch @@ -0,0 +1,11 @@ +diff -up soundtouch-1.3.1/source/example/SoundStretch/WavFile.cpp~ soundtouch-1.3.1/source/example/SoundStretch/WavFile.cpp +--- soundtouch-1.3.1/source/example/SoundStretch/WavFile.cpp~ 2008-01-11 22:21:43.000000000 +0100 ++++ soundtouch-1.3.1/source/example/SoundStretch/WavFile.cpp 2008-01-11 22:21:43.000000000 +0100 +@@ -48,6 +48,7 @@ + #include + #include + #include ++#include + #include + #include + diff --git a/soundtouch.spec b/soundtouch.spec index 39bc6e4..1c3ff1d 100644 --- a/soundtouch.spec +++ b/soundtouch.spec @@ -1,11 +1,12 @@ Name: soundtouch Version: 1.3.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Audio Processing library for changing Tempo, Pitch and Playback Rates License: LGPLv2+ Group: System Environment/Libraries URL: http://sky.prohosting.com/oparviai/soundtouch/ Source0: %{name}-%{version}.tar.gz +Patch0: soundtouch-1.3.1-gcc43.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc-c++ libtool @@ -33,6 +34,7 @@ Libraries, include files, etc you can use to develop soundtouch applications. %prep %setup -q +%patch0 -p1 # set correct version for .so build %define ltversion %(echo %{version} | tr '.' ':') sed -i 's/-rpath $(libdir)/-rpath $(libdir) -version-number %{ltversion}/' \ @@ -105,6 +107,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Jan 11 2008 Hans de Goede 1.3.1-9 +- Fix compilation with gcc 4.3 + * Wed Aug 22 2007 Hans de Goede 1.3.1-8 - Rebuild for buildId - Update license tag for new license guidelines compliance