net-irc/konversation: Fix build with Qt 5.11
authorAndreas Sturmlechner <asturm@gentoo.org>
Mon, 19 Mar 2018 16:40:20 +0000 (17:40 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 19 Mar 2018 17:15:39 +0000 (18:15 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

net-irc/konversation/files/konversation-1.7.4-qt-5.11.patch [new file with mode: 0644]
net-irc/konversation/konversation-1.7.4.ebuild

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 (file)
index 0000000..46508bf
--- /dev/null
@@ -0,0 +1,27 @@
+From 5740a0fdb6805c2e26dce20555a946da8485fe50 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@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
+
index bedb2f5c384a4ca50f2dd5058e9f5f9db8ffd0f2..e86de80e985e1ed2b8e32f7db106a399c5326455 100644 (file)
@@ -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)