From fe5c0ed533d86446a326d0e7a0bb861243aaeb1c Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 16 Mar 2014 19:35:07 -0500 Subject: [PATCH] ffmpeg2theora: use checksummed patches --- Formula/ffmpeg2theora.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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