Date: Mon, 15 Jul 2024 15:31:36 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280298] net-p2p/transmission-components: build error after updating net/miniupnpc to 2.2.8 Message-ID: <bug-280298-7788-TuYrlkTlWc@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-280298-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-280298-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280298 Vladimir Druzenko <vvd@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vvd@FreeBSD.org --- Comment #7 from Vladimir Druzenko <vvd@FreeBSD.org> --- Smaller patch: --- libtransmission/port-forwarding-upnp.cc.orig 2024-05-29 01:38:35= UTC +++ libtransmission/port-forwarding-upnp.cc @@ -275,8 +275,11 @@ tr_port_forwarding_state tr_upnpPulse(tr_upnp* handle, FreeUPNPUrls(&handle->urls); auto lanaddr =3D std::array<char, TR_ADDRSTRLEN>{}; - if (UPNP_GetValidIGD(devlist, &handle->urls, &handle->data, std::data(lanaddr), std::size(lanaddr) - 1) =3D=3D - UPNP_IGD_VALID_CONNECTED) + if (UPNP_GetValidIGD(devlist, &handle->urls, &handle->data, std::data(lanaddr), std::size(lanaddr) - 1 +#if (MINIUPNPC_API_VERSION >=3D 18) + , nullptr, 0 +#endif + ) =3D=3D UPNP_IGD_VALID_CONNECTED) { tr_logAddInfo(fmt::format(_("Found Internet Gateway Device '{url}'"), fmt::arg("url", handle->urls.controlURL))); tr_logAddInfo(fmt::format(_("Local Address is '{address}'"), fmt::arg("address", lanaddr.data()))); --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280298-7788-TuYrlkTlWc>