summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/ktorrent/files/ktorrent-5.1.1-missing-header.patch24
-rw-r--r--net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild1
2 files changed, 25 insertions, 0 deletions
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 000000000000..b574d3028249
--- /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 <asturm@gentoo.org>
+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 6b12108bfcf4..7f7e243ef91e 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() {