SHA256
1
0
forked from pool/soundtouch
OBS User unknown 2007-11-22 16:55:33 +00:00 committed by Git OBS Bridge
parent b720bab561
commit da006be96e
3 changed files with 23 additions and 4 deletions

10
soundtouch-gcc43-fix.diff Normal file
View File

@ -0,0 +1,10 @@
--- source/example/SoundStretch/WavFile.cpp-dist 2007-11-22 13:08:06.000000000 +0100
+++ source/example/SoundStretch/WavFile.cpp 2007-11-22 13:08:17.000000000 +0100
@@ -50,6 +50,7 @@
#include <string>
#include <assert.h>
#include <limits.h>
+#include <cstring>
#include "WavFile.h"

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 22 13:10:58 CET 2007 - tiwai@suse.de
- fix build with gcc 4.3
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 4 14:33:27 CEST 2007 - tiwai@suse.de Wed Jul 4 14:33:27 CEST 2007 - tiwai@suse.de

View File

@ -11,22 +11,23 @@
# norootforbuild # norootforbuild
Name: soundtouch Name: soundtouch
License: LGPL v2 or later License: LGPL v2.1 or later
Group: Productivity/Multimedia/Sound/Editors and Convertors Group: Productivity/Multimedia/Sound/Editors and Convertors
URL: http://www.surina.net/soundtouch Url: http://www.surina.net/soundtouch
Summary: Audio Processing Library Summary: Audio Processing Library
Version: 1.3.1 Version: 1.3.1
Release: 3 Release: 24
BuildRequires: gcc-c++ libstdc++ BuildRequires: gcc-c++ libstdc++
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Patch: soundtouch-keep-flags.patch Patch: soundtouch-keep-flags.patch
Patch1: soundtouch-no-sse.diff Patch1: soundtouch-no-sse.diff
Patch2: soundtouch-sse-automake-add.diff Patch2: soundtouch-sse-automake-add.diff
Patch3: soundtouch-autoreconf-fix.diff Patch3: soundtouch-autoreconf-fix.diff
Patch4: soundtouch-gcc43-fix.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
SoundTouch is an open-source audio processing library that allows SoundTouch is an open source audio processing library that allows
changing the sound tempo, pitch and playback rate parameters changing the sound tempo, pitch and playback rate parameters
independently from each other. independently from each other.
@ -60,6 +61,7 @@ Authors:
%patch2 %patch2
%endif %endif
%patch3 %patch3
%patch4
chmod -x README.html chmod -x README.html
for FILE in COPYING.TXT README.html ; do for FILE in COPYING.TXT README.html ; do
tr -d $'\r\z' <$FILE >$FILE~ tr -d $'\r\z' <$FILE >$FILE~
@ -95,6 +97,8 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%changelog %changelog
* Thu Nov 22 2007 - tiwai@suse.de
- fix build with gcc 4.3
* Wed Jul 04 2007 - tiwai@suse.de * Wed Jul 04 2007 - tiwai@suse.de
- fix build with the recent gcc - fix build with the recent gcc
- fix build on architectures without SSE - fix build on architectures without SSE