aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/html2text.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-14 10:03:24 -0500
committerJack Nagel2014-03-14 10:43:15 -0500
commit49b92d7e7b3a1c4b41173bf25d96a88512cba950 (patch)
treeebc6bce591d64bd1e5004771ee5a855d2f97205f /Library/Formula/html2text.rb
parent871f3223d81937d5fe2eb98678b64def3f5a3636 (diff)
downloadhomebrew-49b92d7e7b3a1c4b41173bf25d96a88512cba950.tar.bz2
html2text: use checksummed patches
Diffstat (limited to 'Library/Formula/html2text.rb')
-rw-r--r--Library/Formula/html2text.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/html2text.rb b/Library/Formula/html2text.rb
index 5b9239e2f..917bbb41c 100644
--- a/Library/Formula/html2text.rb
+++ b/Library/Formula/html2text.rb
@@ -7,8 +7,9 @@ class Html2text < Formula
# Patch provided by author. See:
# http://www.mbayer.de/html2text/faq.shtml#sect6
- def patches
- "http://www.mbayer.de/html2text/downloads/patch-utf8-html2text-1.3.2a.diff"
+ patch do
+ url "http://www.mbayer.de/html2text/downloads/patch-utf8-html2text-1.3.2a.diff"
+ sha1 "3e928c75495aa6d8f071bcf61d2ceba0eb748811"
end
def install