summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2018-04-02 18:35:30 +0000
committerAndreas Sturmlechner <asturm@gentoo.org>2018-04-07 22:48:46 +0200
commit1040395f2b3a9951e450b81b1da096a1118d122f (patch)
tree41d345693700490b04002e00fc8e068ee5b83396 /net-p2p
parentsci-mathematics/octave: Fix HOMEPAGE (diff)
downloadgentoo-1040395f2b3a9951e450b81b1da096a1118d122f.tar.gz
gentoo-1040395f2b3a9951e450b81b1da096a1118d122f.tar.bz2
gentoo-1040395f2b3a9951e450b81b1da096a1118d122f.zip
net-p2p/bitcoin-qt-0.16.0*: Add missing <memory> include
Closes: https://bugs.gentoo.org/652142 Closes: https://github.com/gentoo/gentoo/pull/7833
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/bitcoin-qt/bitcoin-qt-0.16.0-r1.ebuild2
-rw-r--r--net-p2p/bitcoin-qt/files/bitcoin-qt-0.16.0-fix_memory_include.patch13
2 files changed, 15 insertions, 0 deletions
diff --git a/net-p2p/bitcoin-qt/bitcoin-qt-0.16.0-r1.ebuild b/net-p2p/bitcoin-qt/bitcoin-qt-0.16.0-r1.ebuild
index f3fc18a6875b..07a5658ba4ba 100644
--- a/net-p2p/bitcoin-qt/bitcoin-qt-0.16.0-r1.ebuild
+++ b/net-p2p/bitcoin-qt/bitcoin-qt-0.16.0-r1.ebuild
@@ -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
index 000000000000..66b7d361ee5b
--- /dev/null
+++ b/net-p2p/bitcoin-qt/files/bitcoin-qt-0.16.0-fix_memory_include.patch
@@ -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;