summaryrefslogtreecommitdiffstats
path: root/academic/QtiPlot/QtiPlot.SlackBuild
diff options
context:
space:
mode:
author David Spencer <baildon.research@googlemail.com>2015-07-24 12:43:09 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit7f020478b9da0abb624b1d887ed4be81ee28c014 (patch)
tree9ce894ebd23fa44b10947ae92aae5471ceddef8c /academic/QtiPlot/QtiPlot.SlackBuild
parenteceb2339baf43c683baab6d372f47b71f314597f (diff)
downloadslackbuilds-7f020478b9da0abb624b1d887ed4be81ee28c014.tar.gz
slackbuilds-7f020478b9da0abb624b1d887ed4be81ee28c014.tar.xz
academic/QtiPlot: Patched for building with libpng-1.6.
Thanks to slack_jack and ponce. Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'academic/QtiPlot/QtiPlot.SlackBuild')
-rw-r--r--academic/QtiPlot/QtiPlot.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/academic/QtiPlot/QtiPlot.SlackBuild b/academic/QtiPlot/QtiPlot.SlackBuild
index bd10844559..2b43518e93 100644
--- a/academic/QtiPlot/QtiPlot.SlackBuild
+++ b/academic/QtiPlot/QtiPlot.SlackBuild
@@ -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