commit:     4c2e2f64bd3905ce43a55f96a497e95e74f9ca2c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 15 12:23:29 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jul 15 12:28:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c2e2f64

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 <AT> gentoo.org>

 app-misc/zygrib/files/zygrib-8.0.1-qt-5.15.patch | 38 ++++++++++++++++++++++++
 app-misc/zygrib/zygrib-8.0.1-r1.ebuild           |  1 +
 2 files changed, 39 insertions(+)

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 00000000000..7f641bd0b9e
--- /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 <[email protected]>
+Date: Wed, 15 Jul 2020 14:21:13 +0200
+Subject: [PATCH] Fix build with Qt 5.15 (missing headers)
+
+Signed-off-by: Andreas Sturmlechner <[email protected]>
+---
+ 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 94a696ec8e6..5742b5dc7ae 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() {

Reply via email to