diff options
author | root <root@rshg054.dnsready.net> | 2011-10-07 23:14:36 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-07 23:14:36 +0000 |
commit | 8a8ac56bbf82685c43072923560881e6b119ec66 (patch) | |
tree | a83c44158166a5ad2cc5bfcaf1199ca7ba3652cc /extra/rubberband | |
parent | 5442e9b8f357932ed5d6cb46e90fcbf6f453469f (diff) |
Fri Oct 7 23:14:36 UTC 2011
Diffstat (limited to 'extra/rubberband')
-rw-r--r-- | extra/rubberband/PKGBUILD | 18 | ||||
-rw-r--r-- | extra/rubberband/vectorops.patch | 13 |
2 files changed, 25 insertions, 6 deletions
diff --git a/extra/rubberband/PKGBUILD b/extra/rubberband/PKGBUILD index e5ee7babf..f9506554d 100644 --- a/extra/rubberband/PKGBUILD +++ b/extra/rubberband/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 135007 2011-08-09 21:02:54Z schiv $ +# $Id: PKGBUILD 140085 2011-10-06 09:24:38Z schiv $ # Maintainer: Ray Rashif <schiv@archlinux.org> # Contributor: Felipe Machado aka arch_audio <machado.felipe@gmail.com> pkgname=rubberband pkgver=1.6.0 -pkgrel=1 +pkgrel=2 pkgdesc="Time-stretching and pitch-shifting audio library and utility" arch=('i686' 'x86_64') url="http://www.breakfastquay.com/rubberband/" @@ -12,9 +12,8 @@ license=('GPL') depends=('libsamplerate' 'fftw' 'vamp-plugin-sdk') makedepends=('ladspa') source=("http://code.breakfastquay.com/attachments/download/16/$pkgname-$pkgver.tar.bz2" - 'gcc46.patch') -md5sums=('28e3dc1f5ae694d6846bcb0ef3d597fc' - '7c2f404975da6052f6b80eac12efbeb4') + 'gcc46.patch' + 'vectorops.patch') build() { cd "$srcdir/$pkgname-$pkgver" @@ -22,6 +21,10 @@ build() { # fix gcc 4.6 compatibility patch -Np1 -i "$srcdir/gcc46.patch" + # fix bug exposed by gcc 4.6 + # see https://bugs.archlinux.org/task/26140 + patch -Np1 -i "$srcdir/vectorops.patch" + ./configure --prefix=/usr make } @@ -29,7 +32,10 @@ build() { package() { cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install + make DESTDIR="$pkgdir" install } # vim:set ts=2 sw=2 et: +md5sums=('28e3dc1f5ae694d6846bcb0ef3d597fc' + '7c2f404975da6052f6b80eac12efbeb4' + '4bdc9689179d3a2cf64172f0f911701d') diff --git a/extra/rubberband/vectorops.patch b/extra/rubberband/vectorops.patch new file mode 100644 index 000000000..cae961591 --- /dev/null +++ b/extra/rubberband/vectorops.patch @@ -0,0 +1,13 @@ +--- a/src/system/VectorOps.h Mon Mar 21 21:51:33 2011 +0000 ++++ b/src/system/VectorOps.h Sun Oct 02 21:12:42 2011 +0100 +@@ -84,8 +84,8 @@ + } + + template<typename T> +-inline void v_move(T *const R__ dst, +- const T *const R__ src, ++inline void v_move(T *const dst, ++ const T *const src, + const int count) + { + memmove(dst, src, count * sizeof(T)); |