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>
This commit is contained in:
Andreas Sturmlechner
2020-07-15 14:23:29 +02:00
parent 27ae2afb66
commit 4c2e2f64bd
2 changed files with 39 additions and 0 deletions

View File

@@ -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

View File

@@ -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() {