aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-18 12:13:30 -0500
committerJack Nagel2014-03-18 12:13:30 -0500
commitb9390791b73b108e6a38c65a9ceed0d6a199e75a (patch)
treec433a916bc22f72648f5da982807cd098485f80b /Library
parent25e252c4b8d680b4b84213badc53167d74cb9645 (diff)
downloadhomebrew-b9390791b73b108e6a38c65a9ceed0d6a199e75a.tar.bz2
cmockery: use patch DSL
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/cmockery.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/cmockery.rb b/Library/Formula/cmockery.rb
index c3afe51f2..ee5c10e25 100644
--- a/Library/Formula/cmockery.rb
+++ b/Library/Formula/cmockery.rb
@@ -5,12 +5,10 @@ class Cmockery < Formula
url 'https://cmockery.googlecode.com/files/cmockery-0.1.2.tar.gz'
sha1 '964ed1104a0cbbea8a9a34e88c6e79b546eff1bc'
- def patches
- # This patch will be integrated upstream in 0.1.3, this is due to malloc.h being already in stdlib on OSX
- # It is safe to remove it on the next version
- # More info on http://code.google.com/p/cmockery/issues/detail?id=3
- DATA
- end
+ # This patch will be integrated upstream in 0.1.3, this is due to malloc.h being already in stdlib on OSX
+ # It is safe to remove it on the next version
+ # More info on http://code.google.com/p/cmockery/issues/detail?id=3
+ patch :DATA
def install
system "./configure", "--prefix=#{prefix}"