Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=de6d21a5e124654adda78c4b7443ad1d391a19d1

commit de6d21a5e124654adda78c4b7443ad1d391a19d1
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Mon May 25 19:06:49 2009 +0200

soundtouch-1.3.1-2-i686

- fix gcc43 build
- simplify up2date

diff --git a/source/multimedia/soundtouch/FrugalBuild 
b/source/multimedia/soundtouch/FrugalBuild
index 0cdf1a9..215453e 100644
--- a/source/multimedia/soundtouch/FrugalBuild
+++ b/source/multimedia/soundtouch/FrugalBuild
@@ -9,13 +9,16 @@ url="http://www.surina.net/soundtouch/";
depends=('libstdc++')
groups=('multimedia')
archs=('i686' 'x86_64')
-up2date="lynx -dump $url | grep -om1 'soundtouch-\(.*\).tar.gz$' | Flasttar"
-source=($url/$pkgname-$pkgver.tar.gz)
-sha1sums=('0b63e71dc94c917ce9f48431789a001063884cc8')
+up2date="Flasttar $url"
+source=($url/$pkgname-$pkgver.tar.gz \
+       soundtouch-1.3.1-gcc43.patch)
+sha1sums=('0b63e71dc94c917ce9f48431789a001063884cc8' \
+          '0d49c35bd3c45a6e0e5c32e9fc51a541d66daae7')

build()
{
Fcd
+       autoreconf -vif # no error check on purpose..
for i in `find . -iname "Makefile*"`
do
Fsed "-O3" "${CXXFLAGS}" $i
diff --git a/source/multimedia/soundtouch/soundtouch-1.3.1-gcc43.patch 
b/source/multimedia/soundtouch/soundtouch-1.3.1-gcc43.patch
new file mode 100644
index 0000000..0560c15
--- /dev/null
+++ b/source/multimedia/soundtouch/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 <stdio.h>
+ #include <stdexcept>
+ #include <string>
++#include <cstring>
+ #include <assert.h>
+ #include <limits.h>
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to