1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/net-p2p/transmission-components
Anton Saietskii 263d5293fc net-p2p/transmission-components: Fix build with miniupnpc-2.2.8
/usr/ports/net-p2p/transmission-components/work-cli/transmission-4.0.6/libtransmission/port-forwarding-upnp.cc:278:13:
error: no matching function for call to 'UPNP_GetValidIGD'
  278 |         if (UPNP_GetValidIGD(devlist, &handle->urls,
&handle->data, std::data(lanaddr), std::size(lanaddr) - 1) ==
      |             ^~~~~~~~~~~~~~~~
/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.
ninja: build stopped: subcommand failed.
*** Error code 1

PR:		280298
Approved by:	Rafe <mondo.debater_0q@icloud.com> (maintainer)
Obtained from:	febfe49ca3
2024-07-17 12:09:29 +03:00
..
files net-p2p/transmission-components: Fix build with miniupnpc-2.2.8 2024-07-17 12:09:29 +03:00
distinfo net-p2p/transmission*: update to 4.0.6 2024-06-01 13:57:23 +02:00
Makefile net/miniupnpc: Update to 2.2.8 2024-07-15 13:45:00 +02:00
pkg-descr.cli
pkg-descr.daemon net-p2p/transmission-components: Get transmission-web back 2024-05-24 19:56:56 +02:00
pkg-descr.docs
pkg-descr.gtk net-p2p/transmission-components: Get transmission-web back 2024-05-24 19:56:56 +02:00
pkg-descr.qt net-p2p/transmission-components: Get transmission-web back 2024-05-24 19:56:56 +02:00
pkg-descr.utils
pkg-descr.web net-p2p/transmission-components: Get transmission-web back 2024-05-24 19:56:56 +02:00
pkg-plist.cli
pkg-plist.daemon net-p2p/transmission-components: Get transmission-web back 2024-05-24 19:56:56 +02:00
pkg-plist.docs
pkg-plist.gtk
pkg-plist.qt
pkg-plist.utils
pkg-plist.web net-p2p/transmission-components: Get transmission-web back 2024-05-24 19:56:56 +02:00