diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-07-05 16:20:55 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-07-05 16:20:55 -0500 |
commit | 87799655d49aca2a1a086d9ad4140254165f2f2e (patch) | |
tree | b1adda8eedaad66156bfd7cd23ea9ce29f0b3fd7 /multimedia/xbmc/xbmc.SlackBuild | |
parent | 17ae204e257d1e82c7551db7a6220a50a01749b0 (diff) | |
download | slackbuilds-87799655d49aca2a1a086d9ad4140254165f2f2e.tar.gz |
multimedia/xbmc: Fix to work with newer ffmpeg.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'multimedia/xbmc/xbmc.SlackBuild')
-rw-r--r-- | multimedia/xbmc/xbmc.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/multimedia/xbmc/xbmc.SlackBuild b/multimedia/xbmc/xbmc.SlackBuild index a397d8a93d..08a1a7cff2 100644 --- a/multimedia/xbmc/xbmc.SlackBuild +++ b/multimedia/xbmc/xbmc.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=xbmc VERSION=9.11 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -113,13 +113,15 @@ EXTRA_INCLUDES="\ ENABLE_OPTS="\ --enable-external-libogg \ --enable-external-libwavpack" -[ "${EXT_FFMPEG:-no}" == "yes" ] && ENABLE_OPTS="$ENABLE_OPTS --enable-external-ffmpeg" +[ "${EXT_FFMPEG:-no}" == "yes" ] && ENABLE_OPTS="$ENABLE_OPTS --enable-external-ffmpeg" \ + SLKCFLAGS="$SLKCFLAGS -D__STDC_CONSTANT_MACROS" # Workaround for ffmpeg 0.6+ [ "${EXT_A52DEC:-no}" == "yes" ] && ENABLE_OPTS="$ENABLE_OPTS --enable-external-liba52" [ "${EXT_DTS:-no}" == "yes" ] && ENABLE_OPTS="$ENABLE_OPTS --enable-external-libdts" [ "${EXT_MPEG2:-no}" == "yes" ] && ENABLE_OPTS="$ENABLE_OPTS --enable-external-libmpeg2" [ "${EXT_ASS:-no}" == "yes" ] && ENABLE_OPTS="$ENABLE_OPTS --enable-external-libass" [ "${EXT_PYTHON:-no}" == "yes" ] && ENABLE_OPTS="$ENABLE_OPTS --enable-external-python" -[ "${EXT_ALL:-no}" == "yes" ] && ENABLE_OPTS="--enable-external-libraries" +[ "${EXT_ALL:-no}" == "yes" ] && ENABLE_OPTS="--enable-external-libraries" \ + SLKCFLAGS="$SLKCFLAGS -D__STDC_CONSTANT_MACROS" # Workaround for ffmpeg 0.6+ CFLAGS="$SLKCFLAGS $EXTRA_INCLUDES" \ CXXFLAGS="$SLKCFLAGS $EXTRA_INCLUDES" \ |