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-03 00:45:44 (GMT)
commit3ec48f2c0ae3d2f90b3f99c624304131b96e62d6 (patch)
treef8ff4de5938c236542d9013053d7563fd06d9ae8
parentf5e6f3df7873b9aeaca42e5cfee0a5c50431ac10 (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/configure2
1 files changed, 2 insertions, 0 deletions
diff --git a/mythtv/configure b/mythtv/configure
index 7099422..fa19cd1 100755
--- a/mythtv/configure
+++ b/mythtv/configure
@@ -3042,6 +3042,8 @@ 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