commit:     6332b2883b6bf461d9e323dbdf1385407c6b4903
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 22 12:07:38 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Oct 22 12:08:51 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6332b288

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

 .../files/kencfs-plasma-2.0.1_alpha-include.patch           | 13 +++++++++++++
 app-crypt/kencfs-plasma/kencfs-plasma-2.0.1_alpha.ebuild    |  2 ++
 2 files changed, 15 insertions(+)

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 00000000000..2bdd692c122
--- /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 51d97e164f6..5b6df0f1ffd 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
 

Reply via email to