From 123d40c8cc004127c2720a96af59c522c8bcbe31 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 16 Mar 2014 21:35:21 -0500 Subject: mongrel2: use checksummed patches --- Library/Formula/mongrel2.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Library') diff --git a/Library/Formula/mongrel2.rb b/Library/Formula/mongrel2.rb index 8ecc6af90..acdbe9a8b 100644 --- a/Library/Formula/mongrel2.rb +++ b/Library/Formula/mongrel2.rb @@ -9,11 +9,10 @@ class Mongrel2 < Formula depends_on 'zeromq' - def patches - # allow mongrel2 to build against libzmq 4 - [ - "https://gist.github.com/minrk/7632116/raw/44d0ed09ecfc68a9f9d6a940c6367f703cd55c46/0001-add-zmq_compat-check-for-libzmq-4.patch" - ] + # allow mongrel2 to build against libzmq 4 + patch do + url "https://gist.github.com/minrk/7632116/raw/44d0ed09ecfc68a9f9d6a940c6367f703cd55c46/0001-add-zmq_compat-check-for-libzmq-4.patch" + sha1 "f4279ced05362b916c1abf874c69781a66f55abf" end def install -- cgit v1.2.3