From e81c6fe4fb38144709923b2da3ab68a01712a26b Mon Sep 17 00:00:00 2001 From: root Date: Wed, 10 Aug 2011 23:14:36 +0000 Subject: Wed Aug 10 23:14:35 UTC 2011 --- extra/rubberband/PKGBUILD | 17 +++++++++++------ extra/rubberband/gcc46.patch | 10 ++++++++++ 2 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 extra/rubberband/gcc46.patch (limited to 'extra/rubberband') diff --git a/extra/rubberband/PKGBUILD b/extra/rubberband/PKGBUILD index 3566886e3..e5ee7babf 100644 --- a/extra/rubberband/PKGBUILD +++ b/extra/rubberband/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 86992 2010-08-08 20:57:26Z schiv $ -# Maintainer: Ray Rashif +# $Id: PKGBUILD 135007 2011-08-09 21:02:54Z schiv $ +# Maintainer: Ray Rashif # Contributor: Felipe Machado aka arch_audio pkgname=rubberband -pkgver=1.5.0 +pkgver=1.6.0 pkgrel=1 pkgdesc="Time-stretching and pitch-shifting audio library and utility" arch=('i686' 'x86_64') @@ -11,12 +11,17 @@ url="http://www.breakfastquay.com/rubberband/" license=('GPL') depends=('libsamplerate' 'fftw' 'vamp-plugin-sdk') makedepends=('ladspa') -source=(http://code.breakfastquay.com/attachments/download/1/$pkgname-$pkgver.tar.bz2) -md5sums=('c5f288d644fcd46bd159e187bcc33f25') +source=("http://code.breakfastquay.com/attachments/download/16/$pkgname-$pkgver.tar.bz2" + 'gcc46.patch') +md5sums=('28e3dc1f5ae694d6846bcb0ef3d597fc' + '7c2f404975da6052f6b80eac12efbeb4') build() { cd "$srcdir/$pkgname-$pkgver" + # fix gcc 4.6 compatibility + patch -Np1 -i "$srcdir/gcc46.patch" + ./configure --prefix=/usr make } @@ -24,7 +29,7 @@ build() { package() { cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install + make DESTDIR="$pkgdir/" install } # vim:set ts=2 sw=2 et: diff --git a/extra/rubberband/gcc46.patch b/extra/rubberband/gcc46.patch new file mode 100644 index 000000000..38ac76d42 --- /dev/null +++ b/extra/rubberband/gcc46.patch @@ -0,0 +1,10 @@ +--- rubberband-1.6.0.orig/rubberband/RubberBandStretcher.h ++++ rubberband-1.6.0/rubberband/RubberBandStretcher.h +@@ -21,6 +21,7 @@ + + #include + #include ++#include + + /** + * @mainpage RubberBand -- cgit v1.2.3-54-g00ecf