1 |
commit: 1040395f2b3a9951e450b81b1da096a1118d122f |
2 |
Author: Luke Dashjr <luke-jr+git <AT> utopios <DOT> org> |
3 |
AuthorDate: Mon Apr 2 18:35:30 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 7 20:48:46 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1040395f |
7 |
|
8 |
net-p2p/bitcoin-qt-0.16.0*: Add missing <memory> include |
9 |
|
10 |
Closes: https://bugs.gentoo.org/652142 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/7833 |
12 |
|
13 |
net-p2p/bitcoin-qt/bitcoin-qt-0.16.0-r1.ebuild | 2 ++ |
14 |
.../files/bitcoin-qt-0.16.0-fix_memory_include.patch | 13 +++++++++++++ |
15 |
2 files changed, 15 insertions(+) |
16 |
|
17 |
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 |
18 |
index f3fc18a6875..07a5658ba4b 100644 |
19 |
--- a/net-p2p/bitcoin-qt/bitcoin-qt-0.16.0-r1.ebuild |
20 |
+++ b/net-p2p/bitcoin-qt/bitcoin-qt-0.16.0-r1.ebuild |
21 |
@@ -95,6 +95,8 @@ src_prepare() { |
22 |
eapply "${FILESDIR}/${P}-fix_mempoolstats.patch" |
23 |
fi |
24 |
|
25 |
+ eapply "${FILESDIR}/${P}-fix_memory_include.patch" |
26 |
+ |
27 |
eapply_user |
28 |
|
29 |
if ! use bitcoin_policy_rbf; then |
30 |
|
31 |
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 |
32 |
new file mode 100644 |
33 |
index 00000000000..66b7d361ee5 |
34 |
--- /dev/null |
35 |
+++ b/net-p2p/bitcoin-qt/files/bitcoin-qt-0.16.0-fix_memory_include.patch |
36 |
@@ -0,0 +1,13 @@ |
37 |
+diff --git a/src/qt/walletmodeltransaction.h b/src/qt/walletmodeltransaction.h |
38 |
+index cd531dba4b..816b0c35af 100644 |
39 |
+--- a/src/qt/walletmodeltransaction.h |
40 |
++++ b/src/qt/walletmodeltransaction.h |
41 |
+@@ -7,6 +7,8 @@ |
42 |
+ |
43 |
+ #include <qt/walletmodel.h> |
44 |
+ |
45 |
++#include <memory> |
46 |
++ |
47 |
+ #include <QObject> |
48 |
+ |
49 |
+ class SendCoinsRecipient; |