summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-02-25 10:52:14 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-27 13:22:37 +0700
commit1250fed38fa19914b2b26d934b62f7fbe83ae849 (patch)
tree40caf279a905598ca1a2b03d87c58cf2777f36e4 /multimedia
parentb306dfe7dcb3e997d014913f965872becd07b797 (diff)
downloadslackbuilds-1250fed38fa19914b2b26d934b62f7fbe83ae849.tar.gz
multimedia/kodi: Fix build failure.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/kodi/kodi.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/multimedia/kodi/kodi.SlackBuild b/multimedia/kodi/kodi.SlackBuild
index 71ee457f5e..60b8cd3fa3 100644
--- a/multimedia/kodi/kodi.SlackBuild
+++ b/multimedia/kodi/kodi.SlackBuild
@@ -104,6 +104,11 @@ patch -p0 < $CWD/patches/kodi-texturepacker.patch
cat lib/afpfs-ng/fix_afpfs-ng_includes.patch | head -1336 | tail -1172 | patch -p1
AFPFS_NGFLAGS="-I$PWD/include"
+# Fix build failure with new g++ or libstdc++ or whatever
+sed -i \
+ -e 's/#define projectM_isnan isnan/#define projectM_isnan std::isnan/' \
+ xbmc/visualizations/XBMCProjectM/libprojectM/Common.hpp
+
# The version of ffmpeg on SBo is too old to compile kodi.
# Optional ffmpeg is still available but not turned on by
# default.