From abcaa80b2d3bb539503c485bfea891adc7ffc193 Mon Sep 17 00:00:00 2001 From: Daniel Molina GarcĂ­a Date: Sun, 3 Jun 2012 17:20:42 +0200 Subject: Adding a patch which includes unistd.h. With it the package is compiled. --- community/alure/PKGBUILD | 8 ++++++-- community/alure/unistd.patch | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 community/alure/unistd.patch (limited to 'community') diff --git a/community/alure/PKGBUILD b/community/alure/PKGBUILD index 213949842..bc710db00 100644 --- a/community/alure/PKGBUILD +++ b/community/alure/PKGBUILD @@ -16,12 +16,16 @@ optdepends=('libsndfile: for uncompressed audio support' 'mpg123: for MPEG support' 'dumb: for IT, XM, S3M and MOD support' 'fluidsynth: for SoundFont 2 support') -source=("http://kcat.strangesoft.net/alure-releases/${pkgname}-${pkgver}.tar.bz2") -md5sums=('3088aba074ad02d95ea51e705053b9f5') +source=("http://kcat.strangesoft.net/alure-releases/${pkgname}-${pkgver}.tar.bz2" + 'unistd.patch') +md5sums=('3088aba074ad02d95ea51e705053b9f5' + '17d3f8b4dc423cac64772e5694739fce') build() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np0 -i "$srcdir/unistd.patch" + cmake . -DCMAKE_INSTALL_PREFIX=/usr make } diff --git a/community/alure/unistd.patch b/community/alure/unistd.patch new file mode 100644 index 000000000..6a145efee --- /dev/null +++ b/community/alure/unistd.patch @@ -0,0 +1,19 @@ +*** src/codec_fluidsynth.cpp 2011-07-29 10:37:48.000000000 +0200 +--- src/codec_fluidsynth2.cpp 2012-06-03 16:18:35.326640398 +0200 +*************** +*** 34,40 **** + #include + + #include +! + + #ifdef DYNLOAD + static void *fsynth_handle; +--- 34,40 ---- + #include + + #include +! #include + + #ifdef DYNLOAD + static void *fsynth_handle; -- cgit v1.2.3-54-g00ecf