Lion now includes libpng 1.5, which causes a "dereferencing pointer to
incomplete type" error when png_ptr->jmpbuf is accessed directly. Adding an
inreplace to change occurences of 'png_ptr->jmpbuf' to 'png_jmpbuf (png_ptr)' in
the file libplot/z_write.c fixes the build on Lion, and should have no effect on
Snow Leopard since the png_jmpbuf function has been present for several
versions.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
A GNU package for producing 2D plots in a variety of formats, built around an enhanced libplot C/C++ function library.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>