mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
media-gfx/fotowall: Fix build w/ Qt 5.15
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -2,7 +2,7 @@ Fix build with Qt 5.11.
|
||||
|
||||
Bug: https://bugs.gentoo.org/661596
|
||||
|
||||
--- a/App/tmp/CanvasAppliance.h
|
||||
--- a/App/CanvasAppliance.h
|
||||
+++ b/App/CanvasAppliance.h
|
||||
@@ -17,6 +17,9 @@
|
||||
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
From 72f7a502cb2397b0ef459e6e8f429db1d3482be6 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Sturmlechner <asturm@gentoo.org>
|
||||
Date: Thu, 21 May 2020 02:33:38 +0200
|
||||
Subject: [PATCH] Fix build with Qt 5.15 (missing QPainterPath include)
|
||||
|
||||
---
|
||||
3rdparty/posterazor/paintcanvas.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/3rdparty/posterazor/paintcanvas.cpp b/3rdparty/posterazor/paintcanvas.cpp
|
||||
index df33b8a..fd0f319 100644
|
||||
--- a/3rdparty/posterazor/paintcanvas.cpp
|
||||
+++ b/3rdparty/posterazor/paintcanvas.cpp
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "paintcanvas.h"
|
||||
#include <QImage>
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
|
||||
PaintCanvas::PaintCanvas(QWidget *parent)
|
||||
: QWidget(parent)
|
||||
--
|
||||
2.26.2
|
||||
|
||||
@@ -28,7 +28,10 @@ DEPEND="${RDEPEND}
|
||||
webcam? ( media-libs/libv4l )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-qt-5.11.patch"
|
||||
"${FILESDIR}/${P}-qt-5.15.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
Reference in New Issue
Block a user