aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cfengine.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/cfengine.rb')
-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