aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mldonkey.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/mldonkey.rb b/Library/Formula/mldonkey.rb
index c76def627..5ba782281 100644
--- a/Library/Formula/mldonkey.rb
+++ b/Library/Formula/mldonkey.rb
@@ -18,8 +18,9 @@ class Mldonkey < Formula
end
# Fix gd detection, there are various upstream tickets referencing this
- def patches
- { :p0 => "https://trac.macports.org/export/113436/trunk/dports/net/mldonkey/files/patch-config-configure.diff" }
+ patch :p0 do
+ url "https://trac.macports.org/export/113436/trunk/dports/net/mldonkey/files/patch-config-configure.diff"
+ sha1 "4c2fb3f8337f12533a03940834c1fb4bd7eaa9bf"
end
def install