summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xMPlayer/build/MPlayer.SlackBuild7
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