summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-04-21 10:38:37 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-04-21 11:22:16 +0200
commit73a81e6a36909558b066e17fd275ee9cdef3ba8b (patch)
tree1d6294c9b88964cc967df5f3321bbed41efbe813 /net-irc/konversation
parentnet-misc/smb4k: Fix build with Qt 5.15 (diff)
downloadgentoo-73a81e6a36909558b066e17fd275ee9cdef3ba8b.tar.gz
gentoo-73a81e6a36909558b066e17fd275ee9cdef3ba8b.tar.bz2
gentoo-73a81e6a36909558b066e17fd275ee9cdef3ba8b.zip
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@gentoo.org>
Diffstat (limited to 'net-irc/konversation')
-rw-r--r--net-irc/konversation/files/konversation-1.7.5-qt-5.15.patch31
-rw-r--r--net-irc/konversation/konversation-1.7.5-r2.ebuild1
2 files changed, 32 insertions, 0 deletions
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 000000000000..a17c0a432314
--- /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 <asturm@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 8c3b601c6ccd..22ed78f5a2d3 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() {