aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2014-01-22 10:00:36 -0800
committerMisty De Meo2014-01-22 12:59:03 -0800
commitc4fccd69cf3f21439de725e35e2318d3f5e123c6 (patch)
tree02fbbcccdeb9e4703d3f0f59599de55747026a18 /Library
parent8415193940ee3ae2db41b5ccbc5a9dc01bc12c7b (diff)
downloadhomebrew-c4fccd69cf3f21439de725e35e2318d3f5e123c6.tar.bz2
ffmpeg2theora: fix build with ffmpeg 2.x
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ffmpeg2theora.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/ffmpeg2theora.rb b/Library/Formula/ffmpeg2theora.rb
index bf099bd7d..93ab7c020 100644
--- a/Library/Formula/ffmpeg2theora.rb
+++ b/Library/Formula/ffmpeg2theora.rb
@@ -15,6 +15,11 @@ class Ffmpeg2theora < Formula
depends_on 'libvorbis'
depends_on 'theora'
+ # Fixes build with ffmpeg 2.x by removing use of deprecated constant
+ def patches
+ "http://git.xiph.org/?p=ffmpeg2theora.git;a=patch;h=d3435a6a83dc656379de9e6523ecf8d565da6ca6"
+ end
+
def install
args = ["prefix=#{prefix}", "mandir=PREFIX/share/man"]
args << "libkate=1" if Formula.factory('libkate').installed?