[Bug 280298] net/miniupnpc: in 2.2.8 changed API for UPNP_GetValidIGD: build error net-p2p/transmission-components and other

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 16 Jul 2024 12:50:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280298

--- Comment #29 from Vladimir Druzenko <vvd@FreeBSD.org> ---
(In reply to commit-hook from comment #27)
Alexey Dokuchaev, net/dante need patch for include/common.h too:
/* return codes from UPNP_GetValidIGD(). */
#define UPNP_NO_IGD           (0)
#define UPNP_CONNECTED_IGD    (1)
#define UPNP_DISCONNECTED_IGD (2)
#define UPNP_UNKNOWN_DEVICE   (3)

Upstream changed returned error codes too:
https://github.com/miniupnp/miniupnp/commit/c0a50ce33e3b99ce8a96fd43049bb5b53ffac62f#diff-955f89395e8ce2fe4774d4e89f4237cf3d4a2f441a899b4259f1bb82e4e2d6a9L730
And they didn't use difines for error codes!!!

-- 
You are receiving this mail because:
You are the assignee for the bug.