commit:     73a81e6a36909558b066e17fd275ee9cdef3ba8b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 21 08:38:37 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Apr 21 09:22:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73a81e6a

net-irc/konversation: Fix build with Qt 5.15

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/konversation-1.7.5-qt-5.15.patch         | 31 ++++++++++++++++++++++
 net-irc/konversation/konversation-1.7.5-r2.ebuild  |  1 +
 2 files changed, 32 insertions(+)

diff --git a/net-irc/konversation/files/konversation-1.7.5-qt-5.15.patch 
b/net-irc/konversation/files/konversation-1.7.5-qt-5.15.patch
new file mode 100644
index 00000000000..a17c0a43231
--- /dev/null
+++ b/net-irc/konversation/files/konversation-1.7.5-qt-5.15.patch
@@ -0,0 +1,31 @@
+From f88c73cf278da9907496eab0777903f942c50cb9 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <ast...@gentoo.org>
+Date: Tue, 21 Apr 2020 10:34:49 +0200
+Subject: [PATCH] Fix build with Qt 5.15 (missing header)
+
+Test Plan: Build succeeds with Qt 5.15.0_beta4
+
+Reviewers: #konversation, psn
+
+Reviewed By: #konversation, psn
+
+Differential Revision: https://phabricator.kde.org/D29038
+---
+ src/viewer/viewtree.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/viewer/viewtree.cpp b/src/viewer/viewtree.cpp
+index eeee8fb4..04ec4e54 100644
+--- a/src/viewer/viewtree.cpp
++++ b/src/viewer/viewtree.cpp
+@@ -21,6 +21,7 @@
+ #include <QFontDatabase>
+ #include <QGuiApplication>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QItemSelectionModel>
+ #include <QStyleHints>
+ #include <QToolTip>
+-- 
+2.26.1
+

diff --git a/net-irc/konversation/konversation-1.7.5-r2.ebuild 
b/net-irc/konversation/konversation-1.7.5-r2.ebuild
index 8c3b601c6cc..22ed78f5a2d 100644
--- a/net-irc/konversation/konversation-1.7.5-r2.ebuild
+++ b/net-irc/konversation/konversation-1.7.5-r2.ebuild
@@ -65,6 +65,7 @@ PATCHES=(
        # git master
        "${FILESDIR}"/${P}-kf5bookmarks-5.69.patch
        "${FILESDIR}"/${P}-unused-kemoticons.patch
+       "${FILESDIR}"/${P}-qt-5.15.patch
 )
 
 src_configure() {

Reply via email to