[arch-commits] Commit in rubberband/trunk (PKGBUILD vectorops.patch)

Ray Rashif schiv at archlinux.org
Mon Oct 3 01:28:53 EDT 2011


    Date: Monday, October 3, 2011 @ 01:28:52
  Author: schiv
Revision: 139518

upgpkg: rubberband 1.6.0-1

fix FS#26140

Added:
  rubberband/trunk/vectorops.patch
Modified:
  rubberband/trunk/PKGBUILD

-----------------+
 PKGBUILD        |   14 ++++++++++----
 vectorops.patch |   13 +++++++++++++
 2 files changed, 23 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-10-02 23:55:56 UTC (rev 139517)
+++ PKGBUILD	2011-10-03 05:28:52 UTC (rev 139518)
@@ -12,9 +12,8 @@
 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 @@
   # 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 @@
 package() {
   cd "$srcdir/$pkgname-$pkgver"
 
-  make DESTDIR="$pkgdir/" install
+  make DESTDIR="$pkgdir" install
 }
 
 # vim:set ts=2 sw=2 et:
+md5sums=('28e3dc1f5ae694d6846bcb0ef3d597fc'
+         '7c2f404975da6052f6b80eac12efbeb4'
+         '4bdc9689179d3a2cf64172f0f911701d')

Added: vectorops.patch
===================================================================
--- vectorops.patch	                        (rev 0)
+++ vectorops.patch	2011-10-03 05:28:52 UTC (rev 139518)
@@ -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));



More information about the arch-commits mailing list