- Fix build on TW with asio 1.18.x, add 0001-Replace-boost-bind-usage-with-std-bind.patch and 0002-Replace-obsoleted-asio-basic_stream_socket-get_io_se.patch - Disable GTK2 example on TW - Disable wxWidgets example - Do not package huge ChangeLog (commit log) OBS-URL: https://build.opensuse.org/request/show/900836 OBS-URL: https://build.opensuse.org/package/show/games/OpenSceneGraph?expand=0&rev=73
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
From 0ea968fc046b72b2a5855c848e96eebecd08f942 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
|
|
Date: Fri, 18 Jun 2021 17:30:28 +0200
|
|
Subject: [PATCH 2/2] Replace obsoleted
|
|
asio::basic_stream_socket::get_io_service
|
|
|
|
---
|
|
src/osgPlugins/RestHttpDevice/server.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/osgPlugins/RestHttpDevice/server.cpp b/src/osgPlugins/RestHttpDevice/server.cpp
|
|
index e01555a..cf113bc 100644
|
|
--- a/src/osgPlugins/RestHttpDevice/server.cpp
|
|
+++ b/src/osgPlugins/RestHttpDevice/server.cpp
|
|
@@ -22,7 +22,7 @@ server::server(const std::string& address, const std::string& port,
|
|
request_handler_(doc_root)
|
|
{
|
|
// Open the acceptor with the option to reuse the address (i.e. SO_REUSEADDR).
|
|
- asio::ip::tcp::resolver resolver(acceptor_.get_io_service());
|
|
+ asio::ip::tcp::resolver resolver(acceptor_.get_executor());
|
|
asio::ip::tcp::resolver::query query(address, port);
|
|
asio::ip::tcp::endpoint endpoint = *resolver.resolve(query);
|
|
acceptor_.open(endpoint.protocol());
|
|
--
|
|
2.32.0
|
|
|