aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/alure/alure.SlackBuild5
-rw-r--r--libraries/alure/alure.patch13
2 files changed, 17 insertions, 1 deletions
diff --git a/libraries/alure/alure.SlackBuild b/libraries/alure/alure.SlackBuild
index c0395fab7cf68..e80a7436f9c8d 100644
--- a/libraries/alure/alure.SlackBuild
+++ b/libraries/alure/alure.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=alure
VERSION=${VERSION:-1.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +69,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Patch to fix build issue when fluidsynth is present
+patch -p1 < $CWD/alure.patch
+
mkdir -p build
cd build
cmake \
diff --git a/libraries/alure/alure.patch b/libraries/alure/alure.patch
new file mode 100644
index 0000000000000..43f5fff7ef573
--- /dev/null
+++ b/libraries/alure/alure.patch
@@ -0,0 +1,13 @@
+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>
+
+
+