summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-10-22 23:07:38 +1100
committerMichael Palimaka <kensington@gentoo.org>2017-10-22 23:08:51 +1100
commit6332b2883b6bf461d9e323dbdf1385407c6b4903 (patch)
tree37d6704dce1947a882b2c3c4162410a2aef95156 /app-crypt/kencfs-plasma
parentkde-frameworks/krunner: Disable failing test (diff)
downloadgentoo-6332b2883b6bf461d9e323dbdf1385407c6b4903.tar.gz
gentoo-6332b2883b6bf461d9e323dbdf1385407c6b4903.tar.bz2
gentoo-6332b2883b6bf461d9e323dbdf1385407c6b4903.zip
app-crypt/kencfs-plasma: fix build when kdelibs is not installed
Closes: https://bugs.gentoo.org/635056 Package-Manager: Portage-2.3.8, Repoman-2.3.3
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