Permalink
Browse files

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.
  • Loading branch information...
NigelPearson committed Jan 2, 2011
1 parent 95ee7ee commit d16c94e957808c2c15437478c1d16fb859ae2a96
Showing with 2 additions and 1 deletion.
  1. +2 −1 mythtv/configure
View
@@ -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)

0 comments on commit d16c94e

Please sign in to comment.