commit:     a2ebe989c58066eacc134386760f8e9f7b59393b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 12 19:58:24 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Aug 12 19:59:09 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2ebe989

kde-apps/cantor: Fix missing header with Frameworks 5.61

Closes: https://bugs.gentoo.org/692008
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/cantor/cantor-19.04.3.ebuild              |  2 ++
 .../files/cantor-19.04.3-missing-header.patch      | 26 ++++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/kde-apps/cantor/cantor-19.04.3.ebuild 
b/kde-apps/cantor/cantor-19.04.3.ebuild
index fca31777aba..306541dd15a 100644
--- a/kde-apps/cantor/cantor-19.04.3.ebuild
+++ b/kde-apps/cantor/cantor-19.04.3.ebuild
@@ -57,6 +57,8 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
+PATCHES=( "${FILESDIR}/${P}-missing-header.patch" )
+
 RESTRICT+=" test"
 
 pkg_pretend() {

diff --git a/kde-apps/cantor/files/cantor-19.04.3-missing-header.patch 
b/kde-apps/cantor/files/cantor-19.04.3-missing-header.patch
new file mode 100644
index 00000000000..3844b6bcc54
--- /dev/null
+++ b/kde-apps/cantor/files/cantor-19.04.3-missing-header.patch
@@ -0,0 +1,26 @@
+From 6a49ffa048f619752d32ff9b85a03c8cbcb448b7 Mon Sep 17 00:00:00 2001
+From: Nikita Sirgienko <[email protected]>
+Date: Sun, 21 Jul 2019 02:00:46 +0300
+Subject: Try to fix build error in stable-kf5-qt5 #7
+
+---
+ src/cantor.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+(limited to 'src/cantor.h')
+
+diff --git a/src/cantor.h b/src/cantor.h
+index 0352753..bbf8f6e 100644
+--- a/src/cantor.h
++++ b/src/cantor.h
+@@ -25,6 +25,8 @@
+ #include <KParts/MainWindow>
+ 
+ #include <QList>
++#include <QStringList>
++#include <QMap>
+ 
+ class QTabWidget;
+ class KTextEdit;
+-- 
+cgit v1.1

Reply via email to