diff options
Diffstat (limited to 'Library/Formula/htmldoc.rb')
| -rw-r--r-- | Library/Formula/htmldoc.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/htmldoc.rb b/Library/Formula/htmldoc.rb index be13cbeb4..a84f88f78 100644 --- a/Library/Formula/htmldoc.rb +++ b/Library/Formula/htmldoc.rb @@ -5,6 +5,12 @@ class Htmldoc < Formula homepage 'http://www.htmldoc.org' sha1 '472908e0aafed1cedfbacd8ed3168734aebdec4b' + # Fixes building with libpng-1.5, from upstream svn r1668 via Fedora + # Remove at version 1.8.28. cf. https://github.com/mxcl/homebrew/issues/15915 + def patches + { :p0 => 'http://pkgs.fedoraproject.org/cgit/htmldoc.git/plain/htmldoc-1.8.27-libpng15.patch?h=f18' } + end + def install ENV.append_to_cflags "-I#{HOMEBREW_PREFIX}/include" |
