From: Michael Palimaka Date: Sun, 22 Oct 2017 12:07:38 +0000 (+1100) Subject: app-crypt/kencfs-plasma: fix build when kdelibs is not installed X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=6332b2883b6bf461d9e323dbdf1385407c6b4903;p=gentoo.git 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 --- 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