aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorNando Vieira2012-04-27 18:21:38 -0300
committerAdam Vandenberg2012-06-11 07:53:14 -0700
commit58fdfa2469d72a49a9563f24afb11c3905ac2b57 (patch)
treecd4f331badb39b5c27cea225e45be69a5a600b51 /Library/Formula
parentca314379df58ff475d882f5aa525dc362acd448e (diff)
downloadhomebrew-58fdfa2469d72a49a9563f24afb11c3905ac2b57.tar.bz2
html2text: apply patch for UTF-8 support
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/html2text.rb10
1 files changed, 8 insertions, 2 deletions
diff --git a/Library/Formula/html2text.rb b/Library/Formula/html2text.rb
index 572e93f55..1d1d19ae9 100644
--- a/Library/Formula/html2text.rb
+++ b/Library/Formula/html2text.rb
@@ -1,9 +1,15 @@
require 'formula'
class Html2text < Formula
- url 'http://www.mbayer.de/html2text/downloads/html2text-1.3.2a.tar.gz'
homepage 'http://www.mbayer.de/html2text/'
- md5 '6097fe07b948e142315749e6620c9cfc'
+ url 'http://www.mbayer.de/html2text/downloads/html2text-1.3.2a.tar.gz'
+ sha1 '91d46e3218d05b0783bebee96a14f0df0eb9773e'
+
+ # 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"
+ end
def install
inreplace 'configure',