From: Jakub Bogusz Date: Fri, 31 Jul 2020 19:39:03 +0000 (+0200) Subject: - one more fix in boost patch; release 6 (boost 1.73) X-Git-Tag: auto/th/pokerth-1.1.2-6 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=1af0814909a8d5faaadb82d4889e0d9fad9a8308;p=packages%2Fpokerth.git - one more fix in boost patch; release 6 (boost 1.73) --- 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(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(); 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