diff --git a/Formula/phantomjs.rb b/Formula/phantomjs.rb index 987d8882a6..094cc9b70e 100644 --- a/Formula/phantomjs.rb +++ b/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