aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-16 19:35:06 -0500
committerJack Nagel2014-03-16 19:35:06 -0500
commite03d3ab45bd19c00e7440732df668eaa843a8a82 (patch)
treee2196ea8678e946f7c419e51b3b5f2abbf244754 /Library
parentc824236a8fd38d4a5a1a49379c040e7ae6ad4b25 (diff)
downloadhomebrew-e03d3ab45bd19c00e7440732df668eaa843a8a82.tar.bz2
cfengine: use checksummed patches
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/cfengine.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/cfengine.rb b/Library/Formula/cfengine.rb
index 5c1f0a120..4d957087b 100644
--- a/Library/Formula/cfengine.rb
+++ b/Library/Formula/cfengine.rb
@@ -11,9 +11,10 @@ class Cfengine < Formula
depends_on 'tokyo-cabinet'
depends_on 'libxml2' if MacOS.version < :mountain_lion
- def patches
- # Upstream patches for OS X compilation
- %w{https://github.com/cfengine/core/commit/d03fcc2d38a4db0c79386aaef30597102bf45853.patch}
+ # Upstream patches for OS X compilation
+ patch do
+ url "https://github.com/cfengine/core/commit/d03fcc2d38a4db0c79386aaef30597102bf45853.patch"
+ sha1 "99c043fc158f790fa8cc327ffa1ebcc36deb6470"
end
def install