mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
Fix build following a4245a4c6c
.
Obtained from: upstream 81edc181f8 - Update asiolink for boost 1.87
11 lines
637 B
C
11 lines
637 B
C
--- src/lib/asiolink/tcp_endpoint.h.orig 2024-07-25 08:50:58 UTC
|
|
+++ src/lib/asiolink/tcp_endpoint.h
|
|
@@ -42,7 +42,7 @@ class TCPEndpoint : public IOEndpoint { (public)
|
|
/// \param port The TCP port number of the endpoint.
|
|
TCPEndpoint(const IOAddress& address, const unsigned short port) :
|
|
asio_endpoint_placeholder_(
|
|
- new boost::asio::ip::tcp::endpoint(boost::asio::ip::address::from_string(address.toText()),
|
|
+ new boost::asio::ip::tcp::endpoint(boost::asio::ip::make_address(address.toText()),
|
|
port)),
|
|
asio_endpoint_(*asio_endpoint_placeholder_)
|
|
{}
|