mplayer: apply ustream patch for Lion

This issue was identified by Sharpie on github.  I pulled the fix
  from the svn trunk of mplayer.  It was fixed in revision 32840.

  https://gist.github.com/mxcl/homebrew/issues/6408

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Gordon Child 2011-07-25 16:19:58 -05:00 committed by Adam Vandenberg
parent 4522520660
commit 3d893887d3

View file

@ -13,7 +13,12 @@ class Mplayer < Formula
def patches def patches
# When building from SVN HEAD, configure prompts the user to pull FFmpeg # When building from SVN HEAD, configure prompts the user to pull FFmpeg
# from git. Don't do that. # from git. Don't do that.
DATA if ARGV.build_head? if ARGV.build_head?
DATA
elsif `uname -r` =~ /^11\./
# Lion requires the following diff (which is already fixed in svn trunk)
"https://raw.github.com/gist/1105164/704c64c97ab7ffcc3e5f69b1c5d4fb0850f572c1/vd_mpng.c.diff"
end
end end
def install def install