From 2b68b684d541c84cc6e11fc2ee6df317c77eb2b5 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 16 Mar 2014 21:35:20 -0500 Subject: libinfinity: use checksummed patches --- Library/Formula/libinfinity.rb | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'Library') diff --git a/Library/Formula/libinfinity.rb b/Library/Formula/libinfinity.rb index dfa21772f..1c35a1245 100644 --- a/Library/Formula/libinfinity.rb +++ b/Library/Formula/libinfinity.rb @@ -13,16 +13,14 @@ class Libinfinity < Formula depends_on 'gsasl' depends_on :x11 + # Reported and closed upstream, but not seeing the fix: + # http://gobby.0x539.de/trac/ticket/595 + patch :DATA - def patches; - # MacPorts patch to fix pam include - { :p0 => [ - "https://trac.macports.org/export/92297/trunk/dports/comms/libinfinity/files/patch-infinoted-infinoted-pam.c.diff" - ], - # Reported and closed upstream, but not seeing the fix: - # http://gobby.0x539.de/trac/ticket/595 - :p1 => [ DATA ] - } + # MacPorts patch to fix pam include + patch :p0 do + url "https://trac.macports.org/export/92297/trunk/dports/comms/libinfinity/files/patch-infinoted-infinoted-pam.c.diff" + sha1 "30bdd7dc80bf50fc1e0d9747fc67d84b229c01ef" end def install -- cgit v1.2.3