aboutsummaryrefslogtreecommitdiff
path: root/audio/zynaddsubfx/zynaddsubfx.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-03-01 16:56:49 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-02 19:12:13 +0700
commita2ba3d3cd2f2e601e647a7beed93d786c40e11aa (patch)
treeac40b742c2977eba3346c813e231e0d4f2dc5889 /audio/zynaddsubfx/zynaddsubfx.SlackBuild
parent280b6bffcb778bbbea6034951aae8bc308f53616 (diff)
audio/zynaddsubfx: Fixed build with gcc-5.3.0/glibc-2.23.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'audio/zynaddsubfx/zynaddsubfx.SlackBuild')
-rw-r--r--audio/zynaddsubfx/zynaddsubfx.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/zynaddsubfx/zynaddsubfx.SlackBuild b/audio/zynaddsubfx/zynaddsubfx.SlackBuild
index 3338595ed7d63..4f24d57fae32d 100644
--- a/audio/zynaddsubfx/zynaddsubfx.SlackBuild
+++ b/audio/zynaddsubfx/zynaddsubfx.SlackBuild
@@ -53,6 +53,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 {} \;
+# Fixup for glibc-2.23 and/or gcc-5.3.0
+sed -i -e 's/isnan/std::isnan/' src/DSP/FFTwrapper.h
+
mkdir -p build
cd build
cmake \