kde-frameworks/kwallet: Add missing boost header
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Sun, 25 Sep 2016 20:41:53 +0000 (22:41 +0200)
committerMichael Palimaka <kensington@gentoo.org>
Wed, 28 Sep 2016 09:49:45 +0000 (19:49 +1000)
Fixes build error with GpgME-1.7.0 (which was ported away from boost).

Gentoo-bug: 595096

Package-Manager: portage-2.3.0

kde-frameworks/kwallet/files/kwallet-5.26.0-missing-boost-header.patch [new file with mode: 0644]
kde-frameworks/kwallet/kwallet-5.26.0.ebuild

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 (file)
index 0000000..8bf16f0
--- /dev/null
@@ -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
index a9f81521a8627e8660148ba67f009ba81d32aed9..b9a585092f3c6330ab2786d4c384b7781a1fd777 100644 (file)
@@ -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)