mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 21:30:31 -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/udp_endpoint.h.orig 2024-07-25 08:50:58 UTC
|
|
+++ src/lib/asiolink/udp_endpoint.h
|
|
@@ -42,7 +42,7 @@ class UDPEndpoint : public IOEndpoint { (public)
|
|
/// \param port The UDP port number of the endpoint.
|
|
UDPEndpoint(const IOAddress& address, const unsigned short port) :
|
|
asio_endpoint_placeholder_(
|
|
- new boost::asio::ip::udp::endpoint(boost::asio::ip::address::from_string(address.toText()),
|
|
+ new boost::asio::ip::udp::endpoint(boost::asio::ip::make_address(address.toText()),
|
|
port)),
|
|
asio_endpoint_(*asio_endpoint_placeholder_)
|
|
{}
|