summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-07-15 14:23:29 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-07-15 14:28:04 +0200
commit4c2e2f64bd3905ce43a55f96a497e95e74f9ca2c (patch)
tree85803b58c5cfbc7fa5758b03be22b6b7ad85f700 /app-misc
parentapp-misc/zygrib: Fix build with >=sci-libs/proj-6 (diff)
downloadgentoo-4c2e2f64bd3905ce43a55f96a497e95e74f9ca2c.tar.gz
gentoo-4c2e2f64bd3905ce43a55f96a497e95e74f9ca2c.tar.bz2
gentoo-4c2e2f64bd3905ce43a55f96a497e95e74f9ca2c.zip
app-misc/zygrib: Fix build with Qt 5.15
Closes: https://bugs.gentoo.org/732732 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/zygrib/files/zygrib-8.0.1-qt-5.15.patch38
-rw-r--r--app-misc/zygrib/zygrib-8.0.1-r1.ebuild1
2 files changed, 39 insertions, 0 deletions
diff --git a/app-misc/zygrib/files/zygrib-8.0.1-qt-5.15.patch b/app-misc/zygrib/files/zygrib-8.0.1-qt-5.15.patch
new file mode 100644
index 000000000000..7f641bd0b9e9
--- /dev/null
+++ b/app-misc/zygrib/files/zygrib-8.0.1-qt-5.15.patch
@@ -0,0 +1,38 @@
+From 73b1e8a9b622a27a03425db03bdbaee0eb88b8b7 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Wed, 15 Jul 2020 14:21:13 +0200
+Subject: [PATCH] Fix build with Qt 5.15 (missing headers)
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ src/IacPlot.h | 1 +
+ src/SkewT.h | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/src/IacPlot.h b/src/IacPlot.h
+index dab76b6..59f6deb 100644
+--- a/src/IacPlot.h
++++ b/src/IacPlot.h
+@@ -30,6 +30,7 @@ Lecture mise en mémoire d'un fichier IAC (fleetcodes)
+
+ #include <QApplication>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QString>
+
+ #include "DataMeteoAbstract.h"
+diff --git a/src/SkewT.h b/src/SkewT.h
+index eb70372..36d4df8 100644
+--- a/src/SkewT.h
++++ b/src/SkewT.h
+@@ -16,6 +16,7 @@
+ #include <QMainWindow>
+ #include <QFrame>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QLayout>
+ #include <QKeyEvent>
+ #include <QPrintDialog>
+--
+2.27.0
+
diff --git a/app-misc/zygrib/zygrib-8.0.1-r1.ebuild b/app-misc/zygrib/zygrib-8.0.1-r1.ebuild
index 94a696ec8e6e..5742b5dc7ae2 100644
--- a/app-misc/zygrib/zygrib-8.0.1-r1.ebuild
+++ b/app-misc/zygrib/zygrib-8.0.1-r1.ebuild
@@ -41,6 +41,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
PATCHES=(
"${FILESDIR}/${P}-libs.patch"
"${FILESDIR}/${P}-proj-6.patch" # bug 686078
+ "${FILESDIR}/${P}-qt-5.15.patch" # bug 732732
)
src_prepare() {