Ticket #674: mplayer_isysrootbug.patch

File mplayer_isysrootbug.patch, 588 bytes (added by sci-fi@…, 12 years ago)

Here's a workaround patch.

  • (a) configure_prev vs. (b) configure

    a b  
    71307130
    71317131if darwin ; then
    71327132  CFLAGS="$CFLAGS -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc" 
     7133 if test x"$SDKROOT" = x && test x"$MACOSX_DEPLOYMENT_TARGET" = x ; then
    71337134  if x86 ; then
    71347135  CFLAGS="$CFLAGS -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
    71357136  else
    71367137  CFLAGS="$CFLAGS -arch ppc -isysroot /Developer/SDKs/MacOSX10.3.9.sdk"
    71377138  fi
     7139 fi
    71387140  if [ "$_cc_major" = 3 ] && [ "$_cc_minor" -lt 1 ]; then
    71397141    CFLAGS="$CFLAGS -no-cpp-precomp"
    71407142  fi