diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-02-25 10:52:14 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-27 13:22:37 +0700 |
commit | 1250fed38fa19914b2b26d934b62f7fbe83ae849 (patch) | |
tree | 40caf279a905598ca1a2b03d87c58cf2777f36e4 /multimedia/kodi | |
parent | b306dfe7dcb3e997d014913f965872becd07b797 (diff) |
multimedia/kodi: Fix build failure.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'multimedia/kodi')
-rw-r--r-- | multimedia/kodi/kodi.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/multimedia/kodi/kodi.SlackBuild b/multimedia/kodi/kodi.SlackBuild index 71ee457f5e83f..60b8cd3fa395b 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. |