Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2024 12:50:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 280298] net/miniupnpc: in 2.2.8 changed API for UPNP_GetValidIGD: build error net-p2p/transmission-components and other
Message-ID:  <bug-280298-7788-TcF40INekU@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

--- 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/c0a50ce33e3b99ce8a96fd43049bb5b=
53ffac62f#diff-955f89395e8ce2fe4774d4e89f4237cf3d4a2f441a899b4259f1bb82e4e2=
d6a9L730
And they didn't use difines for error codes!!!

--=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-TcF40INekU>