commit:     c6025e149e391ba136c3ce88b89f44749c569c21
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 19 16:40:20 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 19 17:15:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6025e14

net-irc/konversation: Fix build with Qt 5.11

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../files/konversation-1.7.4-qt-5.11.patch         | 27 ++++++++++++++++++++++
 net-irc/konversation/konversation-1.7.4.ebuild     |  4 +++-
 2 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/net-irc/konversation/files/konversation-1.7.4-qt-5.11.patch 
b/net-irc/konversation/files/konversation-1.7.4-qt-5.11.patch
new file mode 100644
index 00000000000..46508bf20a2
--- /dev/null
+++ b/net-irc/konversation/files/konversation-1.7.4-qt-5.11.patch
@@ -0,0 +1,27 @@
+From 5740a0fdb6805c2e26dce20555a946da8485fe50 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlech...@gmail.com>
+Date: Mon, 19 Mar 2018 17:13:30 +0100
+Subject: [PATCH] Fix build with Qt 5.11 (missing QTabWidget)
+
+Reviewers: #konversation
+
+Differential Revision: https://phabricator.kde.org/D11490
+---
+ src/dcc/transferdetailedinfopanel.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/dcc/transferdetailedinfopanel.h 
b/src/dcc/transferdetailedinfopanel.h
+index e8debbc0..0e7391de 100644
+--- a/src/dcc/transferdetailedinfopanel.h
++++ b/src/dcc/transferdetailedinfopanel.h
+@@ -16,6 +16,7 @@
+ #include "ui_transferdetailedinfopanelui.h"
+ #include "ui_transferdetailedtimeinfopanelui.h"
+ 
++#include <QTabWidget>
+ 
+ class QTimer;
+ 
+-- 
+2.16.2
+

diff --git a/net-irc/konversation/konversation-1.7.4.ebuild 
b/net-irc/konversation/konversation-1.7.4.ebuild
index bedb2f5c384..e86de80e985 100644
--- a/net-irc/konversation/konversation-1.7.4.ebuild
+++ b/net-irc/konversation/konversation-1.7.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -54,6 +54,8 @@ RDEPEND="${DEPEND}
        crypt? ( app-crypt/qca:2[ssl] )
 "
 
+PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
+
 src_configure() {
        local mycmakeargs=(
                $(cmake-utils_use_find_package crypt Qca-qt5)

Reply via email to