[arch-commits] Commit in snd/trunk (PKGBUILD type_error.patch)
Ray Rashif
schiv at nymeria.archlinux.org
Sun Oct 27 21:04:21 UTC 2013
Date: Sunday, October 27, 2013 @ 22:04:21
Author: schiv
Revision: 197655
upgpkg: snd 14.1-1
upstream release
Added:
snd/trunk/type_error.patch
Modified:
snd/trunk/PKGBUILD
------------------+
PKGBUILD | 15 ++++++++++++---
type_error.patch | 20 ++++++++++++++++++++
2 files changed, 32 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-27 19:10:51 UTC (rev 197654)
+++ PKGBUILD 2013-10-27 21:04:21 UTC (rev 197655)
@@ -4,7 +4,7 @@
# Contributor: see .contrib
pkgname=snd
-pkgver=13.9
+pkgver=14.1
pkgrel=1
pkgdesc="An advanced sound editor"
arch=('i686' 'x86_64')
@@ -16,9 +16,18 @@
optdepends=('wavpack' 'flac' 'speex' 'mpg123'
'timidity++' 'vorbis-tools')
install=$pkgname.install
-source=("ftp://ccrma-ftp.stanford.edu/pub/Lisp/$pkgname-$pkgver.tar.gz")
-md5sums=('acceab2d1e30720640aca54d4b68d45b')
+source=("ftp://ccrma-ftp.stanford.edu/pub/Lisp/$pkgname-$pkgver.tar.gz"
+ 'type_error.patch')
+md5sums=('955ca19ca70ac0e4d03cd710516c0174'
+ '6e96d59346b53a1c73060857f688dbd0')
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # work around incomplete type error
+ patch -Np1 -i "$srcdir/type_error.patch"
+}
+
build() {
cd "$srcdir/$pkgname-$pkgver"
Added: type_error.patch
===================================================================
--- type_error.patch (rev 0)
+++ type_error.patch 2013-10-27 21:04:21 UTC (rev 197655)
@@ -0,0 +1,20 @@
+diff -ur snd-14.1.orig/vct.h snd-14.1/vct.h
+--- snd-14.1.orig/vct.h 2013-10-28 02:22:35.073798054 +0800
++++ snd-14.1/vct.h 2013-10-28 02:45:27.166364791 +0800
+@@ -1,11 +1,11 @@
+ #ifndef VCT_H
+ #define VCT_H
+
+-#if HAVE_SCHEME
+- typedef struct s7_cell vct;
+-#else
+-typedef struct vct vct;
+-#endif
++typedef struct {
++ mus_long_t length;
++ mus_float_t *data;
++ bool dont_free;
++} vct;
+
+ #ifdef __cplusplus
+ extern "C" {
More information about the arch-commits
mailing list