diff options
| author | Derek Poon | 2012-12-15 22:51:37 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-12-16 08:57:14 -0800 |
| commit | c38ddc0e63028d832082658c64e2d54fb270ff72 (patch) | |
| tree | 6d73fb4824e1d3165b92c6e2f96b98b25084a278 | |
| parent | ae12acb65644dc9a128cdb928e7aedf773c6a6f3 (diff) | |
| download | homebrew-c38ddc0e63028d832082658c64e2d54fb270ff72.tar.bz2 | |
autotrace: port to libpng 1.5
autotrace fails to build because libpng changed its API between 1.4 and 1.5.
Apply a patch from MacPorts to fix this. Thanks to adamv for the solution.
Closes #16569.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/autotrace.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/autotrace.rb b/Library/Formula/autotrace.rb index bd5ffad7b..b221f901d 100644 --- a/Library/Formula/autotrace.rb +++ b/Library/Formula/autotrace.rb @@ -9,6 +9,13 @@ class Autotrace < Formula depends_on 'imagemagick' unless build.include? 'without-imagemagick' + def patches + { + # Issue 16569: Use MacPorts patch to port input-png.c to libpng 1.5. + :p0 => 'https://trac.macports.org/export/100575/trunk/dports/graphics/autotrace/files/patch-libpng-1.5.diff' + } + end + def install args = ["--disable-debug", "--disable-dependency-tracking", |
