diff options
author | root <root@rshg054.dnsready.net> | 2013-10-28 01:15:28 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-28 01:15:28 -0700 |
commit | 1a32448c2c53b0e66ce0fe14c5dd2057afd432bc (patch) | |
tree | d94819e60d05fada511b43feec6f7e46386a215a /extra/snd | |
parent | 2886140ddb1db32f36cb0b27e93888442a603a53 (diff) |
Mon Oct 28 01:14:27 PDT 2013
Diffstat (limited to 'extra/snd')
-rw-r--r-- | extra/snd/PKGBUILD | 17 | ||||
-rw-r--r-- | extra/snd/type_error.patch | 20 |
2 files changed, 33 insertions, 4 deletions
diff --git a/extra/snd/PKGBUILD b/extra/snd/PKGBUILD index f8185ed5b..2a23dc657 100644 --- a/extra/snd/PKGBUILD +++ b/extra/snd/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 193060 2013-08-15 10:40:13Z schiv $ +# $Id: PKGBUILD 197656 2013-10-27 21:04:41Z schiv $ # Maintainer: Ray Rashif <schiv@archlinux.org> # Contributor: Juergen Hoetzel <juergen@archlinux.org> # Contributor: see .contrib pkgname=snd -pkgver=13.9 +pkgver=14.1 pkgrel=1 pkgdesc="An advanced sound editor" arch=('i686' 'x86_64') @@ -16,8 +16,17 @@ makedepends=('ladspa' 'wavpack' 'flac' 'speex' 'gmp' 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" diff --git a/extra/snd/type_error.patch b/extra/snd/type_error.patch new file mode 100644 index 000000000..e7bf9ab91 --- /dev/null +++ b/extra/snd/type_error.patch @@ -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" { |