aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ffmpeg2theora.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/ffmpeg2theora.rb b/Library/Formula/ffmpeg2theora.rb
index 3f320d4e5..e8c17b2d9 100644
--- a/Library/Formula/ffmpeg2theora.rb
+++ b/Library/Formula/ffmpeg2theora.rb
@@ -16,8 +16,9 @@ class Ffmpeg2theora < Formula
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"
+ patch do
+ url "http://git.xiph.org/?p=ffmpeg2theora.git;a=patch;h=d3435a6a83dc656379de9e6523ecf8d565da6ca6"
+ sha1 "5a3e48c386ac077ab58afa6c49631c88f8f85929"
end
def install