diff options
-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 71ee457f5e83..60b8cd3fa395 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. |