ports/net/kea/files/patch-src_lib_asiolink_udp__endpoint.h
Cy Schubert 4db2ed6923 net/kea: Fix build following boost 1.87 import
Fix build following a4245a4c6c.

Obtained from:	upstream 81edc181f8 -  Update asiolink for boost 1.87
2025-02-15 17:04:18 -08:00

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_)
{}