1 |
commit: d2ec04368e585abd931ba9e5f18bc16b9ef67e45 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 26 18:05:34 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 26 18:07:11 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2ec0436 |
7 |
|
8 |
reponet-p2p/ktorrent: backport patch from upstream solving build failure |
9 |
|
10 |
Gentoo-bug: 587048 |
11 |
|
12 |
Package-Manager: portage-2.3.0 |
13 |
|
14 |
net-p2p/ktorrent/files/ktorrent-5.0.1-build.patch | 38 +++++++++++++++++++++++ |
15 |
net-p2p/ktorrent/ktorrent-5.0.1.ebuild | 2 ++ |
16 |
2 files changed, 40 insertions(+) |
17 |
|
18 |
diff --git a/net-p2p/ktorrent/files/ktorrent-5.0.1-build.patch b/net-p2p/ktorrent/files/ktorrent-5.0.1-build.patch |
19 |
new file mode 100644 |
20 |
index 0000000..58949a2 |
21 |
--- /dev/null |
22 |
+++ b/net-p2p/ktorrent/files/ktorrent-5.0.1-build.patch |
23 |
@@ -0,0 +1,38 @@ |
24 |
+From ac8eb6b360fbaa2588ec523bb81c380289586db6 Mon Sep 17 00:00:00 2001 |
25 |
+From: David Faure <faure@×××.org> |
26 |
+Date: Sat, 14 May 2016 11:19:34 +0200 |
27 |
+Subject: [PATCH] Fix compilation, KSharedConfig was not found. |
28 |
+ |
29 |
+--- |
30 |
+ ktorrent/dialogs/pastedialog.h | 1 + |
31 |
+ plugins/mediaplayer/mediaview.h | 2 +- |
32 |
+ 2 files changed, 2 insertions(+), 1 deletion(-) |
33 |
+ |
34 |
+diff --git a/ktorrent/dialogs/pastedialog.h b/ktorrent/dialogs/pastedialog.h |
35 |
+index 2446848..430ea82 100644 |
36 |
+--- a/ktorrent/dialogs/pastedialog.h |
37 |
++++ b/ktorrent/dialogs/pastedialog.h |
38 |
+@@ -22,6 +22,7 @@ |
39 |
+ #define PASTEDIALOG_H |
40 |
+ |
41 |
+ #include <KDialog> |
42 |
++#include <KSharedConfig> |
43 |
+ #include "ui_pastedlgbase.h" |
44 |
+ |
45 |
+ |
46 |
+diff --git a/plugins/mediaplayer/mediaview.h b/plugins/mediaplayer/mediaview.h |
47 |
+index 2b9a7e6..d1959c1 100644 |
48 |
+--- a/plugins/mediaplayer/mediaview.h |
49 |
++++ b/plugins/mediaplayer/mediaview.h |
50 |
+@@ -25,7 +25,7 @@ |
51 |
+ #include <QListView> |
52 |
+ #include <QCheckBox> |
53 |
+ #include <QSortFilterProxyModel> |
54 |
+-#include <KSharedConfigPtr> |
55 |
++#include <KSharedConfig> |
56 |
+ #include "mediafile.h" |
57 |
+ |
58 |
+ |
59 |
+-- |
60 |
+2.7.3 |
61 |
+ |
62 |
|
63 |
diff --git a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild |
64 |
index 978204d..cbc24f5 100644 |
65 |
--- a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild |
66 |
+++ b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild |
67 |
@@ -100,6 +100,8 @@ RDEPEND="${COMMON_DEPEND} |
68 |
# kde5_src_prepare |
69 |
# } |
70 |
|
71 |
+PATCHES=( "${FILESDIR}/${P}-build.patch" ) |
72 |
+ |
73 |
src_prepare() { |
74 |
kde5_src_prepare |