aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libinfinity.rb16
1 files changed, 7 insertions, 9 deletions
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