diff --git a/Formula/ffmpeg2theora.rb b/Formula/ffmpeg2theora.rb index 3f320d4e57d..e8c17b2d98c 100644 --- a/Formula/ffmpeg2theora.rb +++ b/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