From 848fc664f60700a6ea1cc39b1e1c7fc2a20d6047 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 17 Mar 2014 14:43:59 -0500 Subject: gobject-introspection: use checksummed patches --- Library/Formula/gobject-introspection.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/gobject-introspection.rb b/Library/Formula/gobject-introspection.rb index b84656329..9b4b2a549 100644 --- a/Library/Formula/gobject-introspection.rb +++ b/Library/Formula/gobject-introspection.rb @@ -22,9 +22,10 @@ class GobjectIntrospection < Formula depends_on 'cairo' => :build if build.with? 'tests' # Allow tests to execute on OS X (.so => .dylib) - def patches - "https://gist.github.com/krrk/6958869/raw/de8d83009d58eefa680a590f5839e61a6e76ff76/gobject-introspection-tests.patch" - end if build.with? 'tests' + patch do + url "https://gist.github.com/krrk/6958869/raw/de8d83009d58eefa680a590f5839e61a6e76ff76/gobject-introspection-tests.patch" + sha1 "1f57849db76cd2ca26ddb35dc36c373606414dfc" + end if build.with? "tests" def install ENV['GI_SCANNER_DISABLE_CACHE'] = 'true' -- cgit v1.2.3