rpms/soundtouch/devel soundtouch-1.3.1-gcc43.patch, NONE, 1.1 soundtouch.spec, 1.6, 1.7

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Fri Jan 11 21:23:47 UTC 2008


Author: jwrdegoede

Update of /cvs/extras/rpms/soundtouch/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18498

Modified Files:
	soundtouch.spec 
Added Files:
	soundtouch-1.3.1-gcc43.patch 
Log Message:
* Fri Jan 11 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.3.1-9
- Fix compilation with gcc 4.3


soundtouch-1.3.1-gcc43.patch:

--- NEW FILE soundtouch-1.3.1-gcc43.patch ---
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 <stdio.h>
 #include <stdexcept>
 #include <string>
+#include <cstring>
 #include <assert.h>
 #include <limits.h>
 


Index: soundtouch.spec
===================================================================
RCS file: /cvs/extras/rpms/soundtouch/devel/soundtouch.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- soundtouch.spec	22 Aug 2007 13:16:48 -0000	1.6
+++ soundtouch.spec	11 Jan 2008 21:23:08 -0000	1.7
@@ -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 @@
 
 %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 @@
 
 
 %changelog
+* Fri Jan 11 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.3.1-9
+- Fix compilation with gcc 4.3
+
 * Wed Aug 22 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.3.1-8
 - Rebuild for buildId
 - Update license tag for new license guidelines compliance




More information about the fedora-extras-commits mailing list