diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-10-28 05:16:08 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-10-28 05:16:08 +0700 |
commit | d333a2d539a6f871f914d012985f72f3fa452915 (patch) | |
tree | b3320b4bf64e20bb08724aa40c55e892b95ac8ec /libraries/alure | |
parent | 237465ce8416c787e3df5e4f3638d0cbfd97bbab (diff) |
libraries/alure: Fix build when fluidsynth is present.
Thanks to USUARIONUEVO in LQ.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/alure')
-rw-r--r-- | libraries/alure/alure.SlackBuild | 5 | ||||
-rw-r--r-- | libraries/alure/alure.patch | 13 |
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> + + + |