cmockery: use patch DSL

master
Jack Nagel 2014-03-18 12:13:30 -05:00
parent d0cd2aa681
commit c3fb67716b
1 changed files with 4 additions and 6 deletions

View File

@ -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}"