diff options
author | Eric Hameleers <alien@slackware.com> | 2012-07-01 13:07:08 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2012-07-01 13:07:08 +0000 |
commit | 930e5db165fe8fa6be8f5585427347bcb8976b99 (patch) | |
tree | 9ab9cd7990c9e003a280aebe567bf094c3b5bcf0 /MPlayer/build | |
parent | 64ad6477083315d45d5d2b6b34df4021b73eb19e (diff) | |
download | asb-930e5db165fe8fa6be8f5585427347bcb8976b99.tar.gz asb-930e5db165fe8fa6be8f5585427347bcb8976b99.tar.xz |
Try to get around a compilation error due to a ffmpeg change
Diffstat (limited to 'MPlayer/build')
-rwxr-xr-x | MPlayer/build/MPlayer.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/MPlayer/build/MPlayer.SlackBuild b/MPlayer/build/MPlayer.SlackBuild index 68f36fb7..fc3cdfa8 100755 --- a/MPlayer/build/MPlayer.SlackBuild +++ b/MPlayer/build/MPlayer.SlackBuild @@ -362,7 +362,11 @@ fi echo Building ... # MPlayer wants to automatically determine compiler flags, -# so we don't provide CFLAGS: +# so we don't provide CFLAGS. +# The extra-cflags were added to prevent a ffmpeg error: +# "libm.h:54:74: error: expected identifier or '(' before 'sizeof'" +# See also: +# http://lists.mplayerhq.hu/pipermail/mplayer-users/2012-June/084871.html ./configure \ --prefix=/usr \ --mandir=/usr/man \ @@ -373,6 +377,7 @@ echo Building ... --disable-bitmap-font \ --codecsdir=${CODECSDIR} \ --language="${LANGUAGES}" \ + --extra-cflags="-DHAVE_ISNAN -DHAVE_ISINF" \ ${EXTRACONFIGUREOPTIONS} \ ${DO_PATENTED} \ 2>&1 | tee $OUTPUT/configure-${PRGNAM}.log |