Skip to content

Commit

Permalink
net-irc/konversation: Fix build with Qt 5.11
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.24, Repoman-2.3.6
  • Loading branch information
a17r committed Mar 19, 2018
1 parent 7935447 commit c6025e1
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
27 changes: 27 additions & 0 deletions net-irc/konversation/files/konversation-1.7.4-qt-5.11.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
From 5740a0fdb6805c2e26dce20555a946da8485fe50 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <[email protected]>
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

4 changes: 3 additions & 1 deletion net-irc/konversation/konversation-1.7.4.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit c6025e1

Please sign in to comment.