From: Andreas Sturmlechner Date: Thu, 21 May 2020 00:37:52 +0000 (+0200) Subject: media-gfx/fotowall: Fix build w/ Qt 5.15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b951f8c8f6b31320104e5bdca3bedeafe24b47ea;p=gentoo.git media-gfx/fotowall: Fix build w/ Qt 5.15 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner --- diff --git a/media-gfx/fotowall/files/fotowall-1.0-qt-5.11.patch b/media-gfx/fotowall/files/fotowall-1.0-qt-5.11.patch index db619771b476..b3ce481cbf49 100644 --- a/media-gfx/fotowall/files/fotowall-1.0-qt-5.11.patch +++ b/media-gfx/fotowall/files/fotowall-1.0-qt-5.11.patch @@ -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 @@ diff --git a/media-gfx/fotowall/files/fotowall-1.0-qt-5.15.patch b/media-gfx/fotowall/files/fotowall-1.0-qt-5.15.patch new file mode 100644 index 000000000000..12f0e988ee23 --- /dev/null +++ b/media-gfx/fotowall/files/fotowall-1.0-qt-5.15.patch @@ -0,0 +1,24 @@ +From 72f7a502cb2397b0ef459e6e8f429db1d3482be6 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner +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 + #include ++#include + + PaintCanvas::PaintCanvas(QWidget *parent) + : QWidget(parent) +-- +2.26.2 + diff --git a/media-gfx/fotowall/fotowall-1.0.ebuild b/media-gfx/fotowall/fotowall-1.0.ebuild index 2b3595f6cebd..2433ced68ec4 100644 --- a/media-gfx/fotowall/fotowall-1.0.ebuild +++ b/media-gfx/fotowall/fotowall-1.0.ebuild @@ -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