Hi, the attached patch seems to work. I don't have time right now to
send in an NMU.

Thanks, Giovanni.
-- 
Giovanni Mascellani <g.mascell...@gmail.com>
Postdoc researcher - Université Libre de Bruxelles
From 247b1d32c5e5ddf0a1f629b85147209718255044 Mon Sep 17 00:00:00 2001
From: Giovanni Mascellani <g...@debian.org>
Date: Wed, 17 Jun 2020 19:06:20 +0200
Subject: [PATCH] Fix FTBFS with Boost 1.71.

---
 .../0006-Fix-FTBFS-with-Boost-1.71.patch      | 21 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 22 insertions(+)
 create mode 100644 debian/patches/0006-Fix-FTBFS-with-Boost-1.71.patch

diff --git a/debian/patches/0006-Fix-FTBFS-with-Boost-1.71.patch b/debian/patches/0006-Fix-FTBFS-with-Boost-1.71.patch
new file mode 100644
index 000000000..b102e1227
--- /dev/null
+++ b/debian/patches/0006-Fix-FTBFS-with-Boost-1.71.patch
@@ -0,0 +1,21 @@
+From: Giovanni Mascellani <g...@debian.org>
+Date: Wed, 17 Jun 2020 19:05:43 +0200
+Subject: Fix FTBFS with Boost 1.71.
+
+---
+ src/rpc/blockchain.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp
+index bd35163..52fcd3c 100644
+--- a/src/rpc/blockchain.cpp
++++ b/src/rpc/blockchain.cpp
+@@ -2198,7 +2198,7 @@ UniValue scantxoutset(const JSONRPCRequest& request)
+             // no scan in progress
+             return NullUniValue;
+         }
+-        result.pushKV("progress", g_scan_progress);
++        result.pushKV("progress", int(g_scan_progress));
+         return result;
+     } else if (request.params[0].get_str() == "abort") {
+         CoinsViewScanReserver reserver;
diff --git a/debian/patches/series b/debian/patches/series
index 31faa743e..4257bd031 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 1003_man_proper_header.patch
 2001_avoid_embedded_libs.patch
 2002_avoid_network_tests.patch
+0006-Fix-FTBFS-with-Boost-1.71.patch
-- 
2.27.0

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to