Skip to contentSkip to conversation

package/bitcoin: fix build with boost 1.72

PATCH New Fabrice Fontaine 2 participants 2 messages Dec 26, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/bitcoin: fix build with boost 1.72

Fixes:
- http://autobuild.buildroot.org/results/6b4d9877aa416b788b94fe44b2673149aae4af43

---
 ...sing-header-bootlegged-by-boost-1-72.patch | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 package/bitcoin/0001-http-add-missing-header-bootlegged-by-boost-1-72.patch
package/bitcoin/0001-http-add-missing-header-bootlegged-by-boost-1-72.patch new file +28 -0
new file mode 100644
index 0000000000..84e0cf2570
@@ -0,0 +1,28 @@
+From a5929130223973636f3fd25fbfaf2953f2ec96a9 Mon Sep 17 00:00:00 2001
+From: Jan Beich <[email protected]>
+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;
+    ~~~~~^
+
+[Retrieved from:
+https://github.com/bitcoin/bitcoin/commit/a5929130223973636f3fd25fbfaf2953f2ec96a9]
+Signed-off-by: Fabrice Fontaine <[email protected]>
+---
+ 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>
Signature · 1 line
2.24.0
#1 lore raw

PATCH 1/1 package/bitcoin: fix build with boost 1.72

Quoted 8 lines · On Thu, 26 Dec 2019 12:27:20 +0100 Fabrice Fontaine…

Fixes:
- http://autobuild.buildroot.org/results/6b4d9877aa416b788b94fe44b2673149aae4af43

---
 ...sing-header-bootlegged-by-boost-1-72.patch | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 package/bitcoin/0001-http-add-missing-header-bootlegged-by-boost-1-72.patch

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com