slackbuilds_ponce/academic/QtiPlot/qwtplot3d-libpng15.patch
David Spencer 7f020478b9 academic/QtiPlot: Patched for building with libpng-1.6.
Thanks to slack_jack and ponce.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
2016-01-17 09:40:16 +07:00

10 lines
238 B
Diff

--- 3rdparty/gl2ps/gl2ps.c.orig 2012-01-29 18:15:34.000000000 -0500
+++ 3rdparty/gl2ps/gl2ps.c 2012-01-29 18:16:08.000000000 -0500
@@ -47,6 +47,7 @@
#endif
#if defined(GL2PS_HAVE_LIBPNG)
+#include <zlib.h>
#include <png.h>
#endif