[Bug 280298] net-p2p/transmission-components: build error after updating net/miniupnpc to 2.2.8

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 15 Jul 2024 19:28:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280298

Stefan Ehmann <shoesoft@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |shoesoft@gmx.net

--- Comment #8 from Stefan Ehmann <shoesoft@gmx.net> ---
games/0ad seems to fail with the same error. Should we open a new bug or fix
everything here?

../../../source/network/NetServer.cpp:305:9: error: no matching function for
call to 'UPNP_GetValidIGD'
  305 |                 ret = UPNP_GetValidIGD(devlist, &urls, &data,
internalIPAddress, sizeof(internalIPAddress));
      |                       ^~~~~~~~~~~~~~~~
/usr/local/include/miniupnpc/miniupnpc.h:122:1: note: candidate function not
viable: requires 7 arguments, but 5 were provided
  122 | UPNP_GetValidIGD(struct UPNPDev * devlist,
      | ^                ~~~~~~~~~~~~~~~~~~~~~~~~~
  123 |                  struct UPNPUrls * urls,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~
  124 |                  struct IGDdatas * data,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~
  125 |                  char * lanaddr, int lanaddrlen,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  126 |                  char * wanaddr, int wanaddrlen);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

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