net-p2p/bitcoin-qt-0.16.0*: Add missing <memory> include
authorLuke Dashjr <luke-jr+git@utopios.org>
Mon, 2 Apr 2018 18:35:30 +0000 (18:35 +0000)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 7 Apr 2018 20:48:46 +0000 (22:48 +0200)
Closes: https://bugs.gentoo.org/652142
Closes: https://github.com/gentoo/gentoo/pull/7833

net-p2p/bitcoin-qt/bitcoin-qt-0.16.0-r1.ebuild
net-p2p/bitcoin-qt/files/bitcoin-qt-0.16.0-fix_memory_include.patch [new file with mode: 0644]

index f3fc18a6875b07e3650b43f04bbee76c90c6f5a8..07a5658ba4ba3391a4de8647e5dc0b00b1eab60c 100644 (file)
@@ -95,6 +95,8 @@ src_prepare() {
                eapply "${FILESDIR}/${P}-fix_mempoolstats.patch"
        fi
 
+       eapply "${FILESDIR}/${P}-fix_memory_include.patch"
+
        eapply_user
 
        if ! use bitcoin_policy_rbf; then
diff --git a/net-p2p/bitcoin-qt/files/bitcoin-qt-0.16.0-fix_memory_include.patch b/net-p2p/bitcoin-qt/files/bitcoin-qt-0.16.0-fix_memory_include.patch
new file mode 100644 (file)
index 0000000..66b7d36
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/src/qt/walletmodeltransaction.h b/src/qt/walletmodeltransaction.h
+index cd531dba4b..816b0c35af 100644
+--- a/src/qt/walletmodeltransaction.h
++++ b/src/qt/walletmodeltransaction.h
+@@ -7,6 +7,8 @@
+ #include <qt/walletmodel.h>
++#include <memory>
++
+ #include <QObject>
+ class SendCoinsRecipient;