summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;