From 7eb1bf48e02f7e48c4ff82c0e4274b49246f247d Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 14 Jun 2020 22:32:00 +0200 Subject: sci-geosciences/merkaartor: Fix build with Qt 5.15 Closes: https://bugs.gentoo.org/727914 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner --- .../files/merkaartor-0.18.4-qt-5.15.patch | 29 ++++++++++++++++++++++ .../merkaartor/merkaartor-0.18.4.ebuild | 5 +++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 sci-geosciences/merkaartor/files/merkaartor-0.18.4-qt-5.15.patch (limited to 'sci-geosciences') diff --git a/sci-geosciences/merkaartor/files/merkaartor-0.18.4-qt-5.15.patch b/sci-geosciences/merkaartor/files/merkaartor-0.18.4-qt-5.15.patch new file mode 100644 index 000000000000..e14cda8b5bd6 --- /dev/null +++ b/sci-geosciences/merkaartor/files/merkaartor-0.18.4-qt-5.15.patch @@ -0,0 +1,29 @@ +From e72553a7ea2c7ba0634cc3afcd27a9f7cfef089c Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner +Date: Sun, 14 Jun 2020 22:19:24 +0200 +Subject: [PATCH] Fix build with Qt 5.15 (missing QPainterPath include) + +Signed-off-by: Andreas Sturmlechner +--- + src/Features/Feature.h | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/src/Features/Feature.h b/src/Features/Feature.h +index 52fd3044..f466a5a9 100644 +--- a/src/Features/Feature.h ++++ b/src/Features/Feature.h +@@ -8,8 +8,10 @@ class Feature; + #include "MapView.h" + #include "FeaturePainter.h" + +-#include + #include ++#include ++#include ++#include + + #define CAST_FEATURE(x) (dynamic_cast(x)) + #define CAST_NODE(x) (dynamic_cast(x)) +-- +2.27.0 + diff --git a/sci-geosciences/merkaartor/merkaartor-0.18.4.ebuild b/sci-geosciences/merkaartor/merkaartor-0.18.4.ebuild index e5d0a17a1269..360d580f309d 100644 --- a/sci-geosciences/merkaartor/merkaartor-0.18.4.ebuild +++ b/sci-geosciences/merkaartor/merkaartor-0.18.4.ebuild @@ -39,7 +39,10 @@ DEPEND=" " RDEPEND="${DEPEND}" -PATCHES=( "${FILESDIR}"/${PN}-0.18.3-sharedir-pluginsdir.patch ) # bug 621826 +PATCHES=( + "${FILESDIR}"/${PN}-0.18.3-sharedir-pluginsdir.patch # bug 621826 + "${FILESDIR}"/${P}-qt-5.15.patch # bug 727914 +) DOCS=( AUTHORS CHANGELOG ) -- cgit v1.2.3-65-gdbad