app-crypt/kencfs-plasma: fix build when kdelibs is not installed
authorMichael Palimaka <kensington@gentoo.org>
Sun, 22 Oct 2017 12:07:38 +0000 (23:07 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 22 Oct 2017 12:08:51 +0000 (23:08 +1100)
Closes: https://bugs.gentoo.org/635056
Package-Manager: Portage-2.3.8, Repoman-2.3.3

app-crypt/kencfs-plasma/files/kencfs-plasma-2.0.1_alpha-include.patch [new file with mode: 0644]
app-crypt/kencfs-plasma/kencfs-plasma-2.0.1_alpha.ebuild

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 (file)
index 0000000..2bdd692
--- /dev/null
@@ -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";
index 51d97e164f656b7945b13b6f9cc17c50ae005a18..5b6df0f1ffd6460175a73c2e21f822f9e6317fb3 100644 (file)
@@ -30,6 +30,8 @@ RDEPEND="${DEPEND}
 
 S=${WORKDIR}/${MY_P}
 
+PATCHES=( "${FILESDIR}/${P}-include.patch" )
+
 src_prepare() {
        default