diff --git a/Formula/cmockery.rb b/Formula/cmockery.rb index c3afe51f2af..ee5c10e2554 100644 --- a/Formula/cmockery.rb +++ b/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}"