cmockery: use patch DSL
parent
d0cd2aa681
commit
c3fb67716b
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue