mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
academic/QtiPlot: Patched for building with libpng-1.6.
Thanks to slack_jack and ponce. Signed-off-by: David Spencer <baildon.research@googlemail.com>
This commit is contained in:
parent
eceb2339ba
commit
7f020478b9
2 changed files with 13 additions and 0 deletions
|
@ -90,6 +90,9 @@ cp -a $UNOFPLUGIN/qtiplot/src/plugins $SRCNAM-$VERSION/qtiplot/src
|
|||
cp -a $UNOFPLUGIN/qtiplot/importOPJ.pro $SRCNAM-$VERSION/qtiplot
|
||||
cd $SRCNAM-$VERSION
|
||||
|
||||
# Patch for recent libpng (thanks to slack_jack, ponce and Arch)
|
||||
patch -p0 -d 3rdparty/qwtplot3d < $CWD/qwtplot3d-libpng15.patch
|
||||
|
||||
# Use the custom build.conf
|
||||
cp $CWD/build.conf.slack build.conf
|
||||
|
||||
|
|
10
academic/QtiPlot/qwtplot3d-libpng15.patch
Normal file
10
academic/QtiPlot/qwtplot3d-libpng15.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- 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
|
||||
|
Loading…
Reference in a new issue