summaryrefslogtreecommitdiff
path: root/academic/QtiPlot/qtiplot-0.9.8.9-private.patch
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-10-28 19:31:10 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit9434f258ee05b0951f5690cb20726c55a2e73e40 (patch)
treeb21b21d2bb4b47988b9edcda093af97d379deda1 /academic/QtiPlot/qtiplot-0.9.8.9-private.patch
parent7f020478b9da0abb624b1d887ed4be81ee28c014 (diff)
downloadslackbuilds-9434f258ee05b0951f5690cb20726c55a2e73e40.tar.gz
academic/QtiPlot: Patched for building with sip-4.16.
Also fixed library plugin location. Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'academic/QtiPlot/qtiplot-0.9.8.9-private.patch')
-rw-r--r--academic/QtiPlot/qtiplot-0.9.8.9-private.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/academic/QtiPlot/qtiplot-0.9.8.9-private.patch b/academic/QtiPlot/qtiplot-0.9.8.9-private.patch
new file mode 100644
index 0000000000..1dd92fd1a3
--- /dev/null
+++ b/academic/QtiPlot/qtiplot-0.9.8.9-private.patch
@@ -0,0 +1,16 @@
+diff -ruN qtiplot-0.9.8.9.orig/qtiplot/src/plot2D/ImageWidget.h qtiplot-0.9.8.9/qtiplot/src/plot2D/ImageWidget.h
+--- qtiplot-0.9.8.9.orig/qtiplot/src/plot2D/ImageWidget.h 2010-10-17 09:04:05.000000000 +0200
++++ qtiplot-0.9.8.9/qtiplot/src/plot2D/ImageWidget.h 2013-11-01 12:11:36.559973891 +0100
+@@ -67,10 +67,10 @@
+ void setWindowName(const QString& name){d_window_name = name;};
+
+ static QPixmap windowPixmap(ApplicationWindow *mw, const QString& name, const QSize& size);
++ void paintEvent(QPaintEvent *e);
+
+ private:
+ void draw(QPainter *painter, const QRect& r);
+- void paintEvent(QPaintEvent *e);
+ QPixmap d_pix;
+ //! The file from which the image was loaded.
+ QString d_file_name;
+