From 6332b2883b6bf461d9e323dbdf1385407c6b4903 Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Sun, 22 Oct 2017 23:07:38 +1100 Subject: [PATCH] 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 +++++++++++++ .../kencfs-plasma/kencfs-plasma-2.0.1_alpha.ebuild | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 app-crypt/kencfs-plasma/files/kencfs-plasma-2.0.1_alpha-include.patch 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 ++#include + 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 -- 2.26.2