summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/kencfs-plasma')
-rw-r--r--app-crypt/kencfs-plasma/files/kencfs-plasma-2.0.1_alpha-include.patch13
-rw-r--r--app-crypt/kencfs-plasma/kencfs-plasma-2.0.1_alpha.ebuild2
2 files changed, 15 insertions, 0 deletions
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
new file mode 100644
index 000000000000..2bdd692c122f
--- /dev/null
+++ b/app-crypt/kencfs-plasma/files/kencfs-plasma-2.0.1_alpha-include.patch
@@ -0,0 +1,13 @@
+Fix build when kdelibs is not installed.
+
+--- a/mainwindow.cpp
++++ b/mainwindow.cpp
+@@ -52,7 +52,7 @@
+
+ QStandardItemModel *model;
+
+-#include <KDE/KWallet/Wallet>
++#include <KWallet>
+ using KWallet::Wallet;
+ Wallet *m_wallet;
+ QString WalletFolder="Kencfs-Plasma";
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
index 51d97e164f65..5b6df0f1ffd6 100644
--- a/app-crypt/kencfs-plasma/kencfs-plasma-2.0.1_alpha.ebuild
+++ b/app-crypt/kencfs-plasma/kencfs-plasma-2.0.1_alpha.ebuild
@@ -30,6 +30,8 @@ RDEPEND="${DEPEND}
S=${WORKDIR}/${MY_P}
+PATCHES=( "${FILESDIR}/${P}-include.patch" )
+
src_prepare() {
default