summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNigel Pearson <npearson@mythtv.org>2011-01-02 06:36:09 (GMT)
committer Nigel Pearson <npearson@mythtv.org>2011-01-02 06:36:09 (GMT)
commitd16c94e957808c2c15437478c1d16fb859ae2a96 (patch)
treee77d1a72b646bd9d3312784871575af23ac71c63
parent95ee7ee809481846ecafc15c3f726154524340b1 (diff)
Re-enable ffmpeg binary on Darwin.
ffmpeg.c enables _XOPEN_SOURCE, which causes something included from ctype.h to define _POSIX_C_SOURCE. Still no idea why standalone FFmpeg build works.
-rwxr-xr-xmythtv/configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/mythtv/configure b/mythtv/configure
index c94d819..b3a3c01 100755
--- a/mythtv/configure
+++ b/mythtv/configure
@@ -3068,11 +3068,12 @@ case $target_os in
enabled ppc && add_asflags -force_cpusubtype_ALL
# Workaround compile errors from missing u_int/uint def
CPPFLAGS=`echo $CPPFLAGS | sed 's/-D_POSIX_C_SOURCE=200112//'`
+ # Workaround compile errors from missing ru_maxrss
+ add_cppflags -D_DARWIN_C_SOURCE
enable appleremote
enable backend
enable darwin
disable dvb
- disable ffmpeg
# Prevent linker problems on default Intel 10.5 XCode:
ldver=$(ld -v 2>&1 | sed -e s/^[^-]*-//)
osxver=$(uname -r | cut -c 1)