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:
parent
4522520660
commit
3d893887d3
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue