diff options
-rw-r--r-- | kde-frameworks/kwallet/files/kwallet-5.26.0-missing-boost-header.patch | 22 | ||||
-rw-r--r-- | kde-frameworks/kwallet/kwallet-5.26.0.ebuild | 2 |
2 files changed, 24 insertions, 0 deletions
diff --git a/kde-frameworks/kwallet/files/kwallet-5.26.0-missing-boost-header.patch b/kde-frameworks/kwallet/files/kwallet-5.26.0-missing-boost-header.patch new file mode 100644 index 000000000000..8bf16f0d1d50 --- /dev/null +++ b/kde-frameworks/kwallet/files/kwallet-5.26.0-missing-boost-header.patch @@ -0,0 +1,22 @@ +commit 0ae542bfa6e266ead736d6cca5f979dac75e24f2 +Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> +Date: Sun Sep 25 14:56:55 2016 +0200 + + Add missing boost header + + Fixes build error with GpgME-1.7.0 (which was ported away from boost). + + REVIEW: 129012 + +diff --git a/src/runtime/kwalletd/kwalletwizard.cpp b/src/runtime/kwalletd/kwalletwizard.cpp +index bf36f3b..cd52e54 100644 +--- a/src/runtime/kwalletd/kwalletwizard.cpp ++++ b/src/runtime/kwalletd/kwalletwizard.cpp +@@ -39,6 +39,7 @@ + #include <QDebug> + #include <kmessagebox.h> + #include <gpgme.h> ++#include <boost/shared_ptr.hpp> + #endif + + class PageIntro : public QWizardPage diff --git a/kde-frameworks/kwallet/kwallet-5.26.0.ebuild b/kde-frameworks/kwallet/kwallet-5.26.0.ebuild index a9f81521a862..b9a585092f3c 100644 --- a/kde-frameworks/kwallet/kwallet-5.26.0.ebuild +++ b/kde-frameworks/kwallet/kwallet-5.26.0.ebuild @@ -35,6 +35,8 @@ DEPEND="${RDEPEND} man? ( $(add_frameworks_dep kdoctools) ) " +PATCHES=( "${FILESDIR}/${P}-missing-boost-header.patch" ) + src_configure() { local mycmakeargs=( $(cmake-utils_use_find_package gpg Gpgme) |