commit:     09466c2700ea5873259b648537738131d325d54a
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 26 11:56:49 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Dec 26 11:56:49 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09466c27

net-p2p/bitcoind: Add patch for missing <deque> include

Closes: https://bugs.gentoo.org/703228
Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 net-p2p/bitcoind/bitcoind-0.16.3.ebuild                      |  1 +
 net-p2p/bitcoind/bitcoind-0.17.1.ebuild                      |  1 +
 net-p2p/bitcoind/bitcoind-0.18.0.ebuild                      |  1 +
 net-p2p/bitcoind/files/bitcoind-0.16.3-missing-include.patch | 10 ++++++++++
 4 files changed, 13 insertions(+)

diff --git a/net-p2p/bitcoind/bitcoind-0.16.3.ebuild 
b/net-p2p/bitcoind/bitcoind-0.16.3.ebuild
index 9147db4d3e0..86589b99be5 100644
--- a/net-p2p/bitcoind/bitcoind-0.16.3.ebuild
+++ b/net-p2p/bitcoind/bitcoind-0.16.3.ebuild
@@ -71,6 +71,7 @@ src_prepare() {
 
        local knots_patchdir="${WORKDIR}/${KNOTS_P}.patches/"
 
+       eapply "${FILESDIR}"/${PN}-0.16.3-missing-include.patch
        eapply "${knots_patchdir}/${KNOTS_P}.syslibs.patch"
 
        if use knots; then

diff --git a/net-p2p/bitcoind/bitcoind-0.17.1.ebuild 
b/net-p2p/bitcoind/bitcoind-0.17.1.ebuild
index 2f1df22dec8..f8e1efe4331 100644
--- a/net-p2p/bitcoind/bitcoind-0.17.1.ebuild
+++ b/net-p2p/bitcoind/bitcoind-0.17.1.ebuild
@@ -71,6 +71,7 @@ src_prepare() {
 
        local knots_patchdir="${WORKDIR}/${KNOTS_P}.patches/"
 
+       eapply "${FILESDIR}"/${PN}-0.16.3-missing-include.patch
        eapply "${knots_patchdir}/${KNOTS_P}.syslibs.patch"
 
        if use knots; then

diff --git a/net-p2p/bitcoind/bitcoind-0.18.0.ebuild 
b/net-p2p/bitcoind/bitcoind-0.18.0.ebuild
index d758ec04196..6b144706f37 100644
--- a/net-p2p/bitcoind/bitcoind-0.18.0.ebuild
+++ b/net-p2p/bitcoind/bitcoind-0.18.0.ebuild
@@ -75,6 +75,7 @@ src_prepare() {
 
        local knots_patchdir="${WORKDIR}/${KNOTS_P}.patches/"
 
+       eapply "${FILESDIR}"/${PN}-0.16.3-missing-include.patch
        eapply "${knots_patchdir}/${KNOTS_P}.syslibs.patch"
 
        if use knots; then

diff --git a/net-p2p/bitcoind/files/bitcoind-0.16.3-missing-include.patch 
b/net-p2p/bitcoind/files/bitcoind-0.16.3-missing-include.patch
new file mode 100644
index 00000000000..f413c323b92
--- /dev/null
+++ b/net-p2p/bitcoind/files/bitcoind-0.16.3-missing-include.patch
@@ -0,0 +1,10 @@
+--- a/src/httpserver.cpp
++++ b/src/httpserver.cpp
+@@ -13,6 +13,7 @@
+ #include <sync.h>
+ #include <ui_interface.h>
+ 
++#include <deque>
+ #include <memory>
+ #include <stdio.h>
+ #include <stdlib.h>

Reply via email to