- Fix compilation with gcc 4.3
This commit is contained in:
parent
7aefbea76d
commit
0ed6dd5405
11
soundtouch-1.3.1-gcc43.patch
Normal file
11
soundtouch-1.3.1-gcc43.patch
Normal file
@ -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 <stdio.h>
|
||||||
|
#include <stdexcept>
|
||||||
|
#include <string>
|
||||||
|
+#include <cstring>
|
||||||
|
#include <assert.h>
|
||||||
|
#include <limits.h>
|
||||||
|
|
@ -1,11 +1,12 @@
|
|||||||
Name: soundtouch
|
Name: soundtouch
|
||||||
Version: 1.3.1
|
Version: 1.3.1
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
Summary: Audio Processing library for changing Tempo, Pitch and Playback Rates
|
Summary: Audio Processing library for changing Tempo, Pitch and Playback Rates
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://sky.prohosting.com/oparviai/soundtouch/
|
URL: http://sky.prohosting.com/oparviai/soundtouch/
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
Patch0: soundtouch-1.3.1-gcc43.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: gcc-c++ libtool
|
BuildRequires: gcc-c++ libtool
|
||||||
|
|
||||||
@ -33,6 +34,7 @@ Libraries, include files, etc you can use to develop soundtouch applications.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
# set correct version for .so build
|
# set correct version for .so build
|
||||||
%define ltversion %(echo %{version} | tr '.' ':')
|
%define ltversion %(echo %{version} | tr '.' ':')
|
||||||
sed -i 's/-rpath $(libdir)/-rpath $(libdir) -version-number %{ltversion}/' \
|
sed -i 's/-rpath $(libdir)/-rpath $(libdir) -version-number %{ltversion}/' \
|
||||||
@ -105,6 +107,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 11 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-9
|
||||||
|
- Fix compilation with gcc 4.3
|
||||||
|
|
||||||
* Wed Aug 22 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-8
|
* Wed Aug 22 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-8
|
||||||
- Rebuild for buildId
|
- Rebuild for buildId
|
||||||
- Update license tag for new license guidelines compliance
|
- Update license tag for new license guidelines compliance
|
||||||
|
Loading…
Reference in New Issue
Block a user