From 1040395f2b3a9951e450b81b1da096a1118d122f Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Mon, 2 Apr 2018 18:35:30 +0000 Subject: net-p2p/bitcoin-qt-0.16.0*: Add missing include 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 | 2 ++ .../files/bitcoin-qt-0.16.0-fix_memory_include.patch | 13 +++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 net-p2p/bitcoin-qt/files/bitcoin-qt-0.16.0-fix_memory_include.patch (limited to 'net-p2p') 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 + ++#include ++ + #include + + class SendCoinsRecipient; -- cgit v1.2.3-65-gdbad