multimedia/kodi: Fix build failure.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-02-25 10:52:14 +00:00 committed by Willy Sudiarto Raharjo
parent b306dfe7dc
commit 1250fed38f

View file

@ -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.