commit:     953cdcf312d474b8e9800a23c345effa07dbd94c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  9 19:12:37 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Aug  9 19:36:20 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=953cdcf3

net-p2p/ktorrent: Fix missing header w/ future Frameworks

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

 .../files/ktorrent-5.1.1-missing-header.patch      | 24 ++++++++++++++++++++++
 net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild          |  1 +
 2 files changed, 25 insertions(+)

diff --git a/net-p2p/ktorrent/files/ktorrent-5.1.1-missing-header.patch 
b/net-p2p/ktorrent/files/ktorrent-5.1.1-missing-header.patch
new file mode 100644
index 00000000000..b574d302824
--- /dev/null
+++ b/net-p2p/ktorrent/files/ktorrent-5.1.1-missing-header.patch
@@ -0,0 +1,24 @@
+From 909215cc912d89fbc8573f2f98e3b433472d8eae Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <[email protected]>
+Date: Fri, 9 Aug 2019 20:54:52 +0200
+Subject: [PATCH] Add missing QVector
+
+---
+ libktcore/plugin/pluginmanager.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libktcore/plugin/pluginmanager.h 
b/libktcore/plugin/pluginmanager.h
+index 50eaa768..3a04a729 100644
+--- a/libktcore/plugin/pluginmanager.h
++++ b/libktcore/plugin/pluginmanager.h
+@@ -23,6 +23,7 @@
+ 
+ #include <QList>
+ #include <QStringList>
++#include <QVector>
+ 
+ #include <KPluginInfo>
+ #include <KPluginMetaData>
+-- 
+2.22.0
+

diff --git a/net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild
index 6b12108bfcf..7f7e243ef91 100644
--- a/net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild
@@ -81,6 +81,7 @@ PATCHES=(
        "${FILESDIR}/${P}-kdehig.patch"
        "${FILESDIR}/${P}-singlefile-torrent.patch"
        "${FILESDIR}/${P}-kcrash.patch"
+       "${FILESDIR}/${P}-missing-header.patch"
 )
 
 src_configure() {

Reply via email to