[packages/pokerth] - one more fix in boost patch; release 6 (boost 1.73)
qboosh
qboosh at pld-linux.org
Fri Jul 31 21:37:12 CEST 2020
commit 1af0814909a8d5faaadb82d4889e0d9fad9a8308
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Jul 31 21:39:03 2020 +0200
- one more fix in boost patch; release 6 (boost 1.73)
pokerth-boost.patch | 17 +++++++++++++++++
pokerth.spec | 2 +-
2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/pokerth.spec b/pokerth.spec
index 01f193a..464783d 100644
--- a/pokerth.spec
+++ b/pokerth.spec
@@ -2,7 +2,7 @@ Summary: The Open Source Texas-Holdem Poker Engine
Summary(pl.UTF-8): Silnik gry Texas-Holdem poker
Name: pokerth
Version: 1.1.2
-Release: 5
+Release: 6
License: AGPL v3+
Group: X11/Applications/Games
Source0: http://downloads.sourceforge.net/pokerth/pokerth-%{version}.tar.gz
diff --git a/pokerth-boost.patch b/pokerth-boost.patch
index 7e02dd5..0aec30b 100644
--- a/pokerth-boost.patch
+++ b/pokerth-boost.patch
@@ -22,3 +22,20 @@
acceptedSocket->set_option(typename P::no_delay(true));
acceptedSocket->set_option(boost::asio::socket_base::keep_alive(true));
boost::shared_ptr<SessionData> sessionData(new SessionData(acceptedSocket, m_lobbyThread->GetNextSessionId(), m_lobbyThread->GetSessionDataCallback(), *m_ioService));
+--- pokerth-1.1.2-rc/src/net/common/serveracceptwebhelper.cpp.orig 2017-08-16 14:24:03.000000000 +0200
++++ pokerth-1.1.2-rc/src/net/common/serveracceptwebhelper.cpp 2020-07-31 21:14:47.238374433 +0200
+@@ -58,10 +58,10 @@
+
+ m_webSocketServer->init_asio(m_ioService.get());
+
+- m_webSocketServer->set_validate_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::validate), this, _1));
+- m_webSocketServer->set_open_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::on_open), this, _1));
+- m_webSocketServer->set_close_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::on_close), this, _1));
+- m_webSocketServer->set_message_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::on_message), this, _1, _2));
++ m_webSocketServer->set_validate_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::validate), this, boost::placeholders::_1));
++ m_webSocketServer->set_open_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::on_open), this, boost::placeholders::_1));
++ m_webSocketServer->set_close_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::on_close), this, boost::placeholders::_1));
++ m_webSocketServer->set_message_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::on_message), this, boost::placeholders::_1, boost::placeholders::_2));
+
+ m_webSocketServer->listen(serverPort);
+ m_webSocketServer->start_accept();
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pokerth.git/commitdiff/1af0814909a8d5faaadb82d4889e0d9fad9a8308
More information about the pld-cvs-commit
mailing list