File dash-core-bind-placeholders.patch of Package dash-core

From acf0720e6fe3df6ac515775ec8a646ebd6f4a275 Mon Sep 17 00:00:00 2001
From: Oleg Girko <ol@infoserver.lv>
Date: Thu, 29 Oct 2020 22:03:56 +0000
Subject: [PATCH] Include <boost/bind.hpp> to allow global placeholders.

Signals2 and other libraries in newer versions of Boost include Bind library
the way it doesn't allow global _1, _2 atc. placeholders.
To allow them, explicit #include <boost/bind.hpp> is needed.

Signed-off-by: Oleg Girko <ol@infoserver.lv>
---
 src/qt/bitcoingui.cpp            | 2 ++
 src/qt/clientmodel.cpp           | 2 ++
 src/qt/splashscreen.cpp          | 2 ++
 src/qt/transactiontablemodel.cpp | 2 ++
 src/qt/walletmodel.cpp           | 1 +
 src/validation.cpp               | 1 +
 src/validationinterface.cpp      | 3 ++-
 7 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index e7e92d375c..2c7814a6b1 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -38,6 +38,8 @@
 
 #include <iostream>
 
+#include <boost/bind.hpp>
+
 #include <QAction>
 #include <QApplication>
 #include <QButtonGroup>
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp
index df8c8792aa..4cc10bfc9b 100644
--- a/src/qt/clientmodel.cpp
+++ b/src/qt/clientmodel.cpp
@@ -10,6 +10,8 @@
 #include <qt/guiutil.h>
 #include <qt/peertablemodel.h>
 
+#include <boost/bind.hpp>
+
 #include <chain.h>
 #include <chainparams.h>
 #include <checkpoints.h>
diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp
index 80c46d1eab..4ca7c69833 100644
--- a/src/qt/splashscreen.cpp
+++ b/src/qt/splashscreen.cpp
@@ -22,6 +22,8 @@
 #include <ui_interface.h>
 #include <version.h>
 
+#include <boost/bind.hpp>
+
 #include <QApplication>
 #include <QCloseEvent>
 #include <QDesktopWidget>
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp
index 062f10a4a5..4eac6e8c35 100644
--- a/src/qt/transactiontablemodel.cpp
+++ b/src/qt/transactiontablemodel.cpp
@@ -18,6 +18,8 @@
 #include <uint256.h>
 #include <util.h>
 
+#include <boost/bind.hpp>
+
 #include <QColor>
 #include <QDateTime>
 #include <QDebug>
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp
index 0b7a5cd804..2c3c6c59ea 100644
--- a/src/qt/walletmodel.cpp
+++ b/src/qt/walletmodel.cpp
@@ -23,6 +23,7 @@
 #include <spork.h>
 
 #include <stdint.h>
+#include <boost/bind.hpp>
 
 #include <QDebug>
 #include <QSet>
diff --git a/src/validation.cpp b/src/validation.cpp
index 66963fc444..d5718dc5e3 100644
--- a/src/validation.cpp
+++ b/src/validation.cpp
@@ -54,6 +54,7 @@
 
 #include <boost/algorithm/string/replace.hpp>
 #include <boost/thread.hpp>
+#include <boost/bind.hpp>
 
 #if defined(NDEBUG)
 # error "Dash Core cannot be compiled without assertions."
diff --git a/src/validationinterface.cpp b/src/validationinterface.cpp
index 4760f89234..b821ae9b0e 100644
--- a/src/validationinterface.cpp
+++ b/src/validationinterface.cpp
@@ -23,6 +23,7 @@
 #include <future>
 
 #include <boost/signals2/signal.hpp>
+#include <boost/bind.hpp>
 
 struct MainSignalsInstance {
     boost::signals2::signal<void (const CBlockIndex *, const CBlockIndex *, bool fInitialDownload)> UpdatedBlockTip;
@@ -274,4 +275,4 @@ void CMainSignals::NotifyRecoveredSig(const std::shared_ptr<const llmq::CRecover
 
 void CMainSignals::NotifyMasternodeListChanged(bool undo, const CDeterministicMNList& oldMNList, const CDeterministicMNListDiff& diff) {
     m_internals->NotifyMasternodeListChanged(undo, oldMNList, diff);
-}
\ No newline at end of file
+}
-- 
2.31.1