summaryrefslogtreecommitdiff
path: root/community/alure
diff options
context:
space:
mode:
Diffstat (limited to 'community/alure')
-rw-r--r--community/alure/PKGBUILD13
-rw-r--r--community/alure/build.patch12
2 files changed, 22 insertions, 3 deletions
diff --git a/community/alure/PKGBUILD b/community/alure/PKGBUILD
index 0db666fa2..009fb566b 100644
--- a/community/alure/PKGBUILD
+++ b/community/alure/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=alure
pkgver=1.2
-pkgrel=2
+pkgrel=3
pkgdesc='Utility library to help manage common tasks with OpenAL applications.'
arch=('i686' 'x86_64')
url='http://kcat.strangesoft.net/alure.html'
@@ -16,8 +16,15 @@ 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"
+ build.patch)
+md5sums=('3088aba074ad02d95ea51e705053b9f5'
+ '6a8dfd62ccae920d393b4202736aba46')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../build.patch
+}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/community/alure/build.patch b/community/alure/build.patch
new file mode 100644
index 000000000..6da41c0dd
--- /dev/null
+++ b/community/alure/build.patch
@@ -0,0 +1,12 @@
+diff -rupN a/src/codec_fluidsynth.cpp b/src/codec_fluidsynth.cpp
+--- a/src/codec_fluidsynth.cpp 2011-07-29 08:37:48.000000000 +0000
++++ b/src/codec_fluidsynth.cpp 2014-01-03 10:42:13.280792235 +0000
+@@ -32,7 +32,7 @@
+ #endif
+
+ #include <istream>
+-
++#include <unistd.h>
+ #include <fluidsynth.h>
+
+