www/restinio: 0.7.7 update, fixes asio and fmt compat.
Approved by: portmgr@ (blanket just-fix-it)
Reported by: poudriere test build.
Related to:
PR: 286406
Poudriere jail 14.2-RELEASE amd64 build failure without this update was:
[00:00:56] FAILED: benches/single_handler_no_timer/CMakeFiles/_bench.restinio.single_handler_no_timer.dir/main.cpp.o
[00:00:56] /usr/local/libexec/ccache/c++ -DFMT_HEADER_ONLY=1 -I/wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/clara -I/wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/.. -I/wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/expected-lite/include -I/wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio-helpers -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -std=c++17 -pthread -MD -MT benches/single_handler_no_timer/CMakeFiles/_bench.restinio.single_handler_no_timer.dir/main.cpp.o -MF benches/single_handler_no_timer/CMakeFiles/_bench.restinio.single_handler_no_timer.dir/main.cpp.o.d -o benches/single_handler_no_timer/CMakeFiles/_bench.restinio.single_handler_no_timer.dir/main.cpp.o -c /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/benches/single_handler_no_timer/main.cpp
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/benches/single_handler_no_timer/main.cpp:8:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/all.hpp:12:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/core.hpp:20:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/http_server.hpp:14:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/impl/acceptor.hpp:17:
[00:00:56] /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/impl/connection.hpp:1134:18: error: no template named 'buffer_cast' in namespace 'asio'; did you mean 'buffer_copy'?
[00:00:56] 1134 | asio_ns::buffer_cast< const char * >(
[00:00:56] | ~~~~~~~~~^~~~~~~~~~~
[00:00:56] | buffer_copy
[00:00:56] /usr/local/include/asio/buffer.hpp:2591:20: note: 'buffer_copy' declared here
[00:00:56] 2591 | inline std::size_t buffer_copy(const MutableBufferSequence& target,
[00:00:56] | ^
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/benches/single_handler_no_timer/main.cpp:8:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/all.hpp:12:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/core.hpp:20:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/http_server.hpp:14:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/impl/acceptor.hpp:17:
[00:00:56] /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/impl/connection.hpp:1134:9: error: no matching function for call to 'buffer_copy'
[00:00:56] 1134 | asio_ns::buffer_cast< const char * >(
[00:00:56] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[00:00:56] /usr/local/include/asio/buffer.hpp:2591:20: note: candidate function template not viable: requires 2 arguments, but 1 was provided
[00:00:56] 2591 | inline std::size_t buffer_copy(const MutableBufferSequence& target,
[00:00:56] | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[00:00:56] 2592 | const ConstBufferSequence& source) noexcept
[00:00:56] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[00:00:56] /usr/local/include/asio/buffer.hpp:2628:20: note: candidate function template not viable: requires 3 arguments, but 1 was provided
[00:00:56] 2628 | inline std::size_t buffer_copy(const MutableBufferSequence& target,
[00:00:56] | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[00:00:56] 2629 | const ConstBufferSequence& source,
[00:00:56] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[00:00:56] 2630 | std::size_t max_bytes_to_copy) noexcept
[00:00:56] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/benches/single_handler_no_timer/main.cpp:8:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/all.hpp:12:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/core.hpp:20:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/http_server.hpp:14:
[00:00:56] /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/impl/acceptor.hpp:266:46: error: no member named 'max_connections' in 'asio::socket_base'
[00:00:56] 266 | m_acceptor.listen( asio_ns::socket_base::max_connections );
[00:00:56] | ~~~~~~~~~~~~~~~~~~~~~~^
[00:00:56] /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/impl/acceptor.hpp:623:36: error: no member named 'from_string' in 'asio::ip::address'
[00:00:56] 623 | result = asio_ns::ip::address::from_string( str_addr );
[00:00:56] | ~~~~~~~~~~~~~~~~~~~~~~^
[00:00:56] 4 errors generated.