diff options
Diffstat (limited to 'games/pokerth/patches')
-rw-r--r-- | games/pokerth/patches/pokerth-1.1.2-boost-1.73-placeholders.patch | 18 | ||||
-rw-r--r-- | games/pokerth/patches/pokerth-1.1.2-newer-protobuf.patch | 40 |
2 files changed, 40 insertions, 18 deletions
diff --git a/games/pokerth/patches/pokerth-1.1.2-boost-1.73-placeholders.patch b/games/pokerth/patches/pokerth-1.1.2-boost-1.73-placeholders.patch deleted file mode 100644 index 8044977c10..0000000000 --- a/games/pokerth/patches/pokerth-1.1.2-boost-1.73-placeholders.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -Naur pokerth-1.1.2-rc.orig/src/net/common/serveracceptwebhelper.cpp pokerth-1.1.2-rc/src/net/common/serveracceptwebhelper.cpp ---- pokerth-1.1.2-rc.orig/src/net/common/serveracceptwebhelper.cpp 2017-08-16 14:24:03.000000000 +0200 -+++ pokerth-1.1.2-rc/src/net/common/serveracceptwebhelper.cpp 2020-06-23 14:13:56.395204000 +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/games/pokerth/patches/pokerth-1.1.2-newer-protobuf.patch b/games/pokerth/patches/pokerth-1.1.2-newer-protobuf.patch new file mode 100644 index 0000000000..81e0faf2ba --- /dev/null +++ b/games/pokerth/patches/pokerth-1.1.2-newer-protobuf.patch @@ -0,0 +1,40 @@ +diff -Naur pokerth-20230930_ecf031e.orig/chatcleaner.pro pokerth-20230930_ecf031e/chatcleaner.pro +--- pokerth-20230930_ecf031e.orig/chatcleaner.pro 2023-09-30 09:15:23.000000000 +0200 ++++ pokerth-20230930_ecf031e/chatcleaner.pro 2024-03-03 16:38:51.640781000 +0100 +@@ -38,6 +38,8 @@ + LIBS += -lpokerth_lib \ + -lpokerth_protocol \ + -lprotobuf \ ++ -labsl_log_internal_check_op \ ++ -labsl_log_internal_message \ + -ltinyxml + + win32 { +diff -Naur pokerth-20230930_ecf031e.orig/pokerth_game.pro pokerth-20230930_ecf031e/pokerth_game.pro +--- pokerth-20230930_ecf031e.orig/pokerth_game.pro 2023-09-30 09:15:23.000000000 +0200 ++++ pokerth-20230930_ecf031e/pokerth_game.pro 2024-03-03 15:33:13.587781000 +0100 +@@ -524,7 +524,9 @@ + kFreeBSD = $$find(UNAME, "kFreeBSD") + LIBS += -lsqlite3 \ + -ltinyxml \ +- -lprotobuf ++ -lprotobuf \ ++ -labsl_log_internal_check_op \ ++ -labsl_log_internal_message + LIBS += $$BOOST_LIBS + LIBS += -lSDL \ + -lSDL_mixer \ +diff -Naur pokerth-20230930_ecf031e.orig/pokerth_server.pro pokerth-20230930_ecf031e/pokerth_server.pro +--- pokerth-20230930_ecf031e.orig/pokerth_server.pro 2023-09-30 09:15:23.000000000 +0200 ++++ pokerth-20230930_ecf031e/pokerth_server.pro 2024-03-03 15:43:03.651781000 +0100 +@@ -285,7 +285,9 @@ + LIBS += $$BOOST_LIBS + LIBS += -lsqlite3 \ + -ltinyxml \ +- -lprotobuf ++ -lprotobuf \ ++ -labsl_log_internal_check_op \ ++ -labsl_log_internal_message + LIBS += -lgsasl + !isEmpty( BSD ): isEmpty( kFreeBSD ){ + LIBS += -lcrypto -liconv |