diff options
| author | Jack Nagel | 2014-03-17 14:43:59 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-03-17 14:43:59 -0500 | 
| commit | 848fc664f60700a6ea1cc39b1e1c7fc2a20d6047 (patch) | |
| tree | dd7f7f87ded826bf92ac782df47e0e89353f471a /Library/Formula/gobject-introspection.rb | |
| parent | b95ca7eb5513d924da0b31a1f71be51df10f4407 (diff) | |
| download | homebrew-848fc664f60700a6ea1cc39b1e1c7fc2a20d6047.tar.bz2 | |
gobject-introspection: use checksummed patches
Diffstat (limited to 'Library/Formula/gobject-introspection.rb')
| -rw-r--r-- | Library/Formula/gobject-introspection.rb | 7 | 
1 files changed, 4 insertions, 3 deletions
| 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' | 
