diff options
Diffstat (limited to 'Library/Formula/plotutils.rb')
| -rw-r--r-- | Library/Formula/plotutils.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/plotutils.rb b/Library/Formula/plotutils.rb index d1c11c4df..57b7b2127 100644 --- a/Library/Formula/plotutils.rb +++ b/Library/Formula/plotutils.rb @@ -7,6 +7,10 @@ class Plotutils < Formula def install ENV.x11 # enable libpng support + + # Fix usage of libpng to be 1.5 compatible + inreplace 'libplot/z_write.c', 'png_ptr->jmpbuf', 'png_jmpbuf (png_ptr)' + system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--enable-libplotter" |
