x11-misc/fraqtive: Fix build with Qt 5.15

Closes: https://bugs.gentoo.org/726776
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2020-06-21 13:37:41 +02:00
parent a74631c7a5
commit 8d19c19cbf
2 changed files with 44 additions and 1 deletions
@@ -0,0 +1,39 @@
From 34963f986f64d98b6ef82757ca07159a6a059763 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Sun, 21 Jun 2020 13:21:15 +0200
Subject: [PATCH] Fix build with Qt 5.15 (missing QPainterPath include)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
src/datafunctions.cpp | 2 ++
src/shadewidget.cpp | 1 +
2 files changed, 3 insertions(+)
diff --git a/src/datafunctions.cpp b/src/datafunctions.cpp
index 3ec1af9..9369299 100644
--- a/src/datafunctions.cpp
+++ b/src/datafunctions.cpp
@@ -19,6 +19,8 @@
#include "datafunctions.h"
#include "fractaldata.h"
+#include <QPainterPath>
+
namespace DataFunctions
{
diff --git a/src/shadewidget.cpp b/src/shadewidget.cpp
index 1494b37..3da5c05 100644
--- a/src/shadewidget.cpp
+++ b/src/shadewidget.cpp
@@ -19,6 +19,7 @@
#include "shadewidget.h"
#include <QPainter>
+#include <QPainterPath>
#include <QPaintEvent>
#include <QToolTip>
--
2.27.0
+5 -1
View File
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit qmake-utils toolchain-funcs xdg
DESCRIPTION="Open source, multi-platform generator of the Mandelbrot family fractals"
@@ -25,7 +26,10 @@ DEPEND="
"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${P}-qt-includes.patch" )
PATCHES=(
"${FILESDIR}/${P}-qt-includes.patch"
"${FILESDIR}/${P}-qt-5.15.patch"
)
src_configure() {
tc-export PKG_CONFIG