aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/htmldoc.rb
diff options
context:
space:
mode:
authornibbles 2bits2012-11-13 12:19:50 -0800
committerJack Nagel2012-11-14 12:37:08 -0600
commite6f7dd0089616d50c603e2324ef85e32a808b6ae (patch)
treee8830ebac0bc377972c6075757a23e0b22b97c4e /Library/Formula/htmldoc.rb
parent0b55a72f9b088eab934a118c2142b7301850c3a1 (diff)
downloadhomebrew-e6f7dd0089616d50c603e2324ef85e32a808b6ae.tar.bz2
htmldoc: add libpng patch from svn
htmldoc builds with libpng-1.5 using a series of diffs between the current version and svn r1668. These diffs were generated and applied by Fedora. Doing same here. Builds well with superenv. Noted in comments to remove at >= 1.8.28. Fixes #15915. Closes #16038. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/htmldoc.rb')
-rw-r--r--Library/Formula/htmldoc.rb6
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"