aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/argp-standalone.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/Library/Formula/argp-standalone.rb b/Library/Formula/argp-standalone.rb
index 0e8c00d02..29b547e75 100644
--- a/Library/Formula/argp-standalone.rb
+++ b/Library/Formula/argp-standalone.rb
@@ -12,11 +12,10 @@ class ArgpStandalone < Formula
sha1 "58936047ba691811df5aa11dbbb4ed2304ef3b8b" => :lion
end
- def patches
- # This patch fixes compilation with Clang.
- {:p0 =>
- "https://trac.macports.org/export/86556/trunk/dports/devel/argp-standalone/files/patch-argp-fmtstream.h"
- }
+ # This patch fixes compilation with Clang.
+ patch :p0 do
+ url "https://trac.macports.org/export/86556/trunk/dports/devel/argp-standalone/files/patch-argp-fmtstream.h"
+ sha1 "61b2d1f416869666cf3f81e3961a82fcbfa84837"
end
def install