net-p2p/bitcoin-qt: Add patch for missing include
authorDavid Seifert <soap@gentoo.org>
Tue, 31 Dec 2019 13:24:10 +0000 (14:24 +0100)
committerDavid Seifert <soap@gentoo.org>
Tue, 31 Dec 2019 13:24:10 +0000 (14:24 +0100)
Closes: https://bugs.gentoo.org/703544
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
net-p2p/bitcoin-qt/bitcoin-qt-0.16.3.ebuild
net-p2p/bitcoin-qt/bitcoin-qt-0.17.1.ebuild
net-p2p/bitcoin-qt/bitcoin-qt-0.18.0.ebuild
net-p2p/bitcoin-qt/files/bitcoin-qt-0.16.3-boost-1.72-missing-include.patch [new file with mode: 0644]

index e6d5e30a9323fb072ae99234941c6a7028af3220..0ee413a509bd7ca01b97cfd63362d8e01f0ac014 100644 (file)
@@ -87,6 +87,7 @@ src_prepare() {
 
        local knots_patchdir="${WORKDIR}/${KNOTS_P}.patches/"
 
+       eapply "${FILESDIR}"/${PN}-0.16.3-boost-1.72-missing-include.patch
        eapply "${knots_patchdir}/${KNOTS_P}.syslibs.patch"
 
        if use knots; then
index 28c1e57132f05162eae23d7d3932112c0bc73720..1ae0e2eadb77d29506854902ee9c4bbc8f429a9b 100644 (file)
@@ -85,6 +85,7 @@ src_prepare() {
 
        local knots_patchdir="${WORKDIR}/${KNOTS_P}.patches/"
 
+       eapply "${FILESDIR}"/${PN}-0.16.3-boost-1.72-missing-include.patch
        eapply "${knots_patchdir}/${KNOTS_P}.syslibs.patch"
 
        if use knots; then
index 0aa8b5e1079689291800b50cfccc234cd6b7fb06..5c49284181513876b173bfdb63016b7f8bbf4a7b 100644 (file)
@@ -85,6 +85,7 @@ src_prepare() {
 
        local knots_patchdir="${WORKDIR}/${KNOTS_P}.patches/"
 
+       eapply "${FILESDIR}"/${PN}-0.16.3-boost-1.72-missing-include.patch
        eapply "${knots_patchdir}/${KNOTS_P}.syslibs.patch"
 
        if use knots; then
diff --git a/net-p2p/bitcoin-qt/files/bitcoin-qt-0.16.3-boost-1.72-missing-include.patch b/net-p2p/bitcoin-qt/files/bitcoin-qt-0.16.3-boost-1.72-missing-include.patch
new file mode 100644 (file)
index 0000000..b553a24
--- /dev/null
@@ -0,0 +1,24 @@
+From a5929130223973636f3fd25fbfaf2953f2ec96a9 Mon Sep 17 00:00:00 2001
+From: Jan Beich <jbeich@FreeBSD.org>
+Date: Fri, 25 Oct 2019 13:05:17 +0000
+Subject: [PATCH] http: add missing header bootlegged by boost < 1.72
+
+httpserver.cpp:74:10: error: no template named 'deque' in namespace 'std'
+    std::deque<std::unique_ptr<WorkItem>> queue;
+    ~~~~~^
+---
+ src/httpserver.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/httpserver.cpp b/src/httpserver.cpp
+index 81137771871f..d9c711332358 100644
+--- a/src/httpserver.cpp
++++ b/src/httpserver.cpp
+@@ -15,6 +15,7 @@
+ #include <sync.h>
+ #include <ui_interface.h>
++#include <deque>
+ #include <memory>
+ #include <stdio.h>
+ #include <stdlib.h>