1 |
commit: 6332b2883b6bf461d9e323dbdf1385407c6b4903 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 22 12:07:38 2017 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 22 12:08:51 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6332b288 |
7 |
|
8 |
app-crypt/kencfs-plasma: fix build when kdelibs is not installed |
9 |
|
10 |
Closes: https://bugs.gentoo.org/635056 |
11 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
12 |
|
13 |
.../files/kencfs-plasma-2.0.1_alpha-include.patch | 13 +++++++++++++ |
14 |
app-crypt/kencfs-plasma/kencfs-plasma-2.0.1_alpha.ebuild | 2 ++ |
15 |
2 files changed, 15 insertions(+) |
16 |
|
17 |
diff --git a/app-crypt/kencfs-plasma/files/kencfs-plasma-2.0.1_alpha-include.patch b/app-crypt/kencfs-plasma/files/kencfs-plasma-2.0.1_alpha-include.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..2bdd692c122 |
20 |
--- /dev/null |
21 |
+++ b/app-crypt/kencfs-plasma/files/kencfs-plasma-2.0.1_alpha-include.patch |
22 |
@@ -0,0 +1,13 @@ |
23 |
+Fix build when kdelibs is not installed. |
24 |
+ |
25 |
+--- a/mainwindow.cpp |
26 |
++++ b/mainwindow.cpp |
27 |
+@@ -52,7 +52,7 @@ |
28 |
+ |
29 |
+ QStandardItemModel *model; |
30 |
+ |
31 |
+-#include <KDE/KWallet/Wallet> |
32 |
++#include <KWallet> |
33 |
+ using KWallet::Wallet; |
34 |
+ Wallet *m_wallet; |
35 |
+ QString WalletFolder="Kencfs-Plasma"; |
36 |
|
37 |
diff --git a/app-crypt/kencfs-plasma/kencfs-plasma-2.0.1_alpha.ebuild b/app-crypt/kencfs-plasma/kencfs-plasma-2.0.1_alpha.ebuild |
38 |
index 51d97e164f6..5b6df0f1ffd 100644 |
39 |
--- a/app-crypt/kencfs-plasma/kencfs-plasma-2.0.1_alpha.ebuild |
40 |
+++ b/app-crypt/kencfs-plasma/kencfs-plasma-2.0.1_alpha.ebuild |
41 |
@@ -30,6 +30,8 @@ RDEPEND="${DEPEND} |
42 |
|
43 |
S=${WORKDIR}/${MY_P} |
44 |
|
45 |
+PATCHES=( "${FILESDIR}/${P}-include.patch" ) |
46 |
+ |
47 |
src_prepare() { |
48 |
default |