File spreadcoin-boost2.patch of Package spreadcoin

--- src/bttrackers.cpp	2015-01-23 23:02:16.000000000 +0100
+++ bttrackers.cpp	2021-08-08 12:48:47.431580590 +0200
@@ -161,7 +161,7 @@
         m_NumRequests++;
 
     printf("BTTrackers: connecting(%i) to %s\n", m_NumRequests, toString(m_Address).c_str());
-    g_Socket.async_send_to(buffer(&m_ConnectRequest, 16), m_Address, boost::bind(&BTTracker::onSend, this, _1, _2));
+    g_Socket.async_send_to(buffer(&m_ConnectRequest, 16), m_Address, boost::bind(&BTTracker::onSend, this, std::placeholders::_1, std::placeholders::_2));
     setStatus(CONNECTION_REQUESTED);
 }
 
@@ -173,7 +173,7 @@
     RAND_bytes((uint8_t*)&m_ConnectRequest.transaction_id, 4);
 
     printf("BTTrackers: connecting to %s to stop\n", toString(m_Address).c_str());
-    g_Socket.async_send_to(buffer(&m_ConnectRequest, 16), m_Address, boost::bind(&BTTracker::onSend, this, _1, _2));
+    g_Socket.async_send_to(buffer(&m_ConnectRequest, 16), m_Address, boost::bind(&BTTracker::onSend, this, std::placeholders::_1, std::placeholders::_2));
     setStatus(CONNECTION_END_REQUESTED);
 }
 
@@ -193,7 +193,7 @@
         printf("BTTrackers: announcing(%i) on %s\n", m_NumRequests, toString(m_Address).c_str());
     else
         printf("BTTrackers: stopping on %s\n", toString(m_Address).c_str());
-    g_Socket.async_send_to(buffer(&m_AnnounceRequest, 98), m_Address, boost::bind(&BTTracker::onSend, this, _1, _2));
+    g_Socket.async_send_to(buffer(&m_AnnounceRequest, 98), m_Address, boost::bind(&BTTracker::onSend, this, std::placeholders::_1, std::placeholders::_2));
 
     setStatus(Start? ANNOUNCE_REQUESTED : STOPPED);
 }
--- src/qt/clientmodel.cpp	2015-01-23 23:02:16.000000000 +0100
+++ clientmodel.cpp	2021-08-08 12:48:47.439580590 +0200
@@ -196,14 +196,14 @@
 {
     // Connect signals to client
     uiInterface.NotifyBlocksChanged.connect(boost::bind(NotifyBlocksChanged, this));
-    uiInterface.NotifyNumConnectionsChanged.connect(boost::bind(NotifyNumConnectionsChanged, this, _1));
-    uiInterface.NotifyAlertChanged.connect(boost::bind(NotifyAlertChanged, this, _1, _2));
+    uiInterface.NotifyNumConnectionsChanged.connect(boost::bind(NotifyNumConnectionsChanged, this, std::placeholders::_1));
+    uiInterface.NotifyAlertChanged.connect(boost::bind(NotifyAlertChanged, this, std::placeholders::_1, std::placeholders::_2));
 }
 
 void ClientModel::unsubscribeFromCoreSignals()
 {
     // Disconnect signals from client
     uiInterface.NotifyBlocksChanged.disconnect(boost::bind(NotifyBlocksChanged, this));
-    uiInterface.NotifyNumConnectionsChanged.disconnect(boost::bind(NotifyNumConnectionsChanged, this, _1));
-    uiInterface.NotifyAlertChanged.disconnect(boost::bind(NotifyAlertChanged, this, _1, _2));
+    uiInterface.NotifyNumConnectionsChanged.disconnect(boost::bind(NotifyNumConnectionsChanged, this, std::placeholders::_1));
+    uiInterface.NotifyAlertChanged.disconnect(boost::bind(NotifyAlertChanged, this, std::placeholders::_1, std::placeholders::_2));
 }
--- src/qt/walletmodel.cpp	2015-01-23 23:02:16.000000000 +0100
+++ walletmodel.cpp	2021-08-08 12:48:47.447580590 +0200
@@ -343,17 +343,17 @@
 void WalletModel::subscribeToCoreSignals()
 {
     // Connect signals to wallet
-    wallet->NotifyStatusChanged.connect(boost::bind(&NotifyKeyStoreStatusChanged, this, _1));
-    wallet->NotifyAddressBookChanged.connect(boost::bind(NotifyAddressBookChanged, this, _1, _2, _3, _4, _5));
-    wallet->NotifyTransactionChanged.connect(boost::bind(NotifyTransactionChanged, this, _1, _2, _3));
+    wallet->NotifyStatusChanged.connect(boost::bind(&NotifyKeyStoreStatusChanged, this, std::placeholders::_1));
+    wallet->NotifyAddressBookChanged.connect(boost::bind(NotifyAddressBookChanged, this, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4, std::placeholders::_5));
+    wallet->NotifyTransactionChanged.connect(boost::bind(NotifyTransactionChanged, this, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3));
 }
 
 void WalletModel::unsubscribeFromCoreSignals()
 {
     // Disconnect signals from wallet
-    wallet->NotifyStatusChanged.disconnect(boost::bind(&NotifyKeyStoreStatusChanged, this, _1));
-    wallet->NotifyAddressBookChanged.disconnect(boost::bind(NotifyAddressBookChanged, this, _1, _2, _3, _4, _5));
-    wallet->NotifyTransactionChanged.disconnect(boost::bind(NotifyTransactionChanged, this, _1, _2, _3));
+    wallet->NotifyStatusChanged.disconnect(boost::bind(&NotifyKeyStoreStatusChanged, this, std::placeholders::_1));
+    wallet->NotifyAddressBookChanged.disconnect(boost::bind(NotifyAddressBookChanged, this, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4, std::placeholders::_5));
+    wallet->NotifyTransactionChanged.disconnect(boost::bind(NotifyTransactionChanged, this, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3));
 }
 
 // WalletModel::UnlockContext implementation
--- src/json/json_spirit_reader_template.h	2015-01-23 23:02:16.000000000 +0100
+++ json_spirit_reader_template.h	2021-08-08 12:48:47.455580590 +0200
@@ -428,18 +428,18 @@
                 typedef boost::function< void( boost::int64_t )       > Int_action;
                 typedef boost::function< void( boost::uint64_t )      > Uint64_action;
 
-                Char_action   begin_obj  ( boost::bind( &Semantic_actions_t::begin_obj,   &self.actions_, _1 ) );
-                Char_action   end_obj    ( boost::bind( &Semantic_actions_t::end_obj,     &self.actions_, _1 ) );
-                Char_action   begin_array( boost::bind( &Semantic_actions_t::begin_array, &self.actions_, _1 ) );
-                Char_action   end_array  ( boost::bind( &Semantic_actions_t::end_array,   &self.actions_, _1 ) );
-                Str_action    new_name   ( boost::bind( &Semantic_actions_t::new_name,    &self.actions_, _1, _2 ) );
-                Str_action    new_str    ( boost::bind( &Semantic_actions_t::new_str,     &self.actions_, _1, _2 ) );
-                Str_action    new_true   ( boost::bind( &Semantic_actions_t::new_true,    &self.actions_, _1, _2 ) );
-                Str_action    new_false  ( boost::bind( &Semantic_actions_t::new_false,   &self.actions_, _1, _2 ) );
-                Str_action    new_null   ( boost::bind( &Semantic_actions_t::new_null,    &self.actions_, _1, _2 ) );
-                Real_action   new_real   ( boost::bind( &Semantic_actions_t::new_real,    &self.actions_, _1 ) );
-                Int_action    new_int    ( boost::bind( &Semantic_actions_t::new_int,     &self.actions_, _1 ) );
-                Uint64_action new_uint64 ( boost::bind( &Semantic_actions_t::new_uint64,  &self.actions_, _1 ) );
+                Char_action   begin_obj  ( boost::bind( &Semantic_actions_t::begin_obj,   &self.actions_, std::placeholders::_1 ) );
+                Char_action   end_obj    ( boost::bind( &Semantic_actions_t::end_obj,     &self.actions_, std::placeholders::_1 ) );
+                Char_action   begin_array( boost::bind( &Semantic_actions_t::begin_array, &self.actions_, std::placeholders::_1 ) );
+                Char_action   end_array  ( boost::bind( &Semantic_actions_t::end_array,   &self.actions_, std::placeholders::_1 ) );
+                Str_action    new_name   ( boost::bind( &Semantic_actions_t::new_name,    &self.actions_, std::placeholders::_1, std::placeholders::_2 ) );
+                Str_action    new_str    ( boost::bind( &Semantic_actions_t::new_str,     &self.actions_, std::placeholders::_1, std::placeholders::_2 ) );
+                Str_action    new_true   ( boost::bind( &Semantic_actions_t::new_true,    &self.actions_, std::placeholders::_1, std::placeholders::_2 ) );
+                Str_action    new_false  ( boost::bind( &Semantic_actions_t::new_false,   &self.actions_, std::placeholders::_1, std::placeholders::_2 ) );
+                Str_action    new_null   ( boost::bind( &Semantic_actions_t::new_null,    &self.actions_, std::placeholders::_1, std::placeholders::_2 ) );
+                Real_action   new_real   ( boost::bind( &Semantic_actions_t::new_real,    &self.actions_, std::placeholders::_1 ) );
+                Int_action    new_int    ( boost::bind( &Semantic_actions_t::new_int,     &self.actions_, std::placeholders::_1 ) );
+                Uint64_action new_uint64 ( boost::bind( &Semantic_actions_t::new_uint64,  &self.actions_, std::placeholders::_1 ) );
 
                 // actual grammer
 
--- src/endiannes.h	2015-01-23 23:02:16.000000000 +0100
+++ endiannes.h	2021-08-08 12:59:25.101459080 +0200
@@ -7,7 +7,7 @@
 */
 #pragma once
 
-#include <boost/detail/endian.hpp>
+#include <boost/endian.hpp>
 #include <stdint.h>
 
 /**
openSUSE Build Service is sponsored by