aboutsummaryrefslogtreecommitdiff
path: root/science/kst2
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2018-08-31 08:57:17 +0000
committerJason E. Hale <jhale@FreeBSD.org>2018-08-31 08:57:17 +0000
commite840f4c78a355ffadc73551dc0feaccd67d1d3a7 (patch)
treea398b4503c99d3bd7211a8306f17c2885d421c7b /science/kst2
parent12c54d92690e99bd70feb75f83e092c3df9a6fba (diff)
downloadports-e840f4c78a355ffadc73551dc0feaccd67d1d3a7.tar.gz
ports-e840f4c78a355ffadc73551dc0feaccd67d1d3a7.zip
Fix build with Qt 5.11
PR: 230884 Obtained from: upstream (partly)
Notes
Notes: svn path=/head/; revision=478532
Diffstat (limited to 'science/kst2')
-rw-r--r--science/kst2/Makefile3
-rw-r--r--science/kst2/distinfo4
-rw-r--r--science/kst2/files/patch-src_libkstapp_view.h12
3 files changed, 18 insertions, 1 deletions
diff --git a/science/kst2/Makefile b/science/kst2/Makefile
index 28fc82b9ed85..9818851a5cb5 100644
--- a/science/kst2/Makefile
+++ b/science/kst2/Makefile
@@ -6,6 +6,9 @@ DISTVERSION= ${KST_VERSION}.${KST_DATE}
PORTREVISION= 1
CATEGORIES= science kde
+PATCH_SITES= https://github.com/KDE/kst-plot/commit/
+PATCHFILES= de3110c59874.patch:-p1
+
MAINTAINER= makc@FreeBSD.org
COMMENT= Data viewing and plotting tool
diff --git a/science/kst2/distinfo b/science/kst2/distinfo
index 1101019716e8..b757b4f9f00a 100644
--- a/science/kst2/distinfo
+++ b/science/kst2/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1523062184
+TIMESTAMP = 1535705578
SHA256 (Kst-plot-kst-2.0.8.20180405-6afa76a_GH0.tar.gz) = beee92019c0b320c9a4d1e51ce25b8f4783f60baa3a90b1e810c11d48b2bc418
SIZE (Kst-plot-kst-2.0.8.20180405-6afa76a_GH0.tar.gz) = 18731504
+SHA256 (de3110c59874.patch) = d3d4a95ad65a680f11efdbbd2f9b0e753f409b84f04c517563eb010856894b22
+SIZE (de3110c59874.patch) = 1131
diff --git a/science/kst2/files/patch-src_libkstapp_view.h b/science/kst2/files/patch-src_libkstapp_view.h
new file mode 100644
index 000000000000..c27f6b63d591
--- /dev/null
+++ b/science/kst2/files/patch-src_libkstapp_view.h
@@ -0,0 +1,12 @@
+Fix build with Qt 5.11
+
+--- src/libkstapp/view.h.orig 2018-08-31 07:50:35 UTC
++++ src/libkstapp/view.h
+@@ -14,6 +14,7 @@
+ #define VIEW_H
+
+ #include <QGraphicsView>
++#include <QMenu>
+
+ #include "kst_export.h"
+