From db1b68e56865b38ca5fd8dbb15dba9630727d062 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 16 Mar 2014 21:35:22 -0500 Subject: phantomjs: use checksummed patches --- Library/Formula/phantomjs.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Library') diff --git a/Library/Formula/phantomjs.rb b/Library/Formula/phantomjs.rb index 987d8882a..094cc9b70 100644 --- a/Library/Formula/phantomjs.rb +++ b/Library/Formula/phantomjs.rb @@ -12,10 +12,9 @@ class Phantomjs < Formula sha1 "575af708d7e5ef6e39e90766ffd2bf97b6c4b51b" => :lion end - def patches - [ - 'https://github.com/ariya/phantomjs/commit/fe6a96.patch' - ] + patch do + url "https://github.com/ariya/phantomjs/commit/fe6a96.patch" + sha1 "c6899db754a7202fc4745d2bd64504432a6b606c" end def install -- cgit v1.2.3