mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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:
38
app-misc/zygrib/files/zygrib-8.0.1-qt-5.15.patch
Normal file
38
app-misc/zygrib/files/zygrib-8.0.1-qt-5.15.patch
Normal 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
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user