FreeBSD Bugzilla – Attachment 252077 Details for
Bug 280298
net/miniupnpc: in 2.2.8 changed API for UPNP_GetValidIGD: build error net-p2p/transmission-components and other
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v0 (completely untested, apply via `git am`)
0001-net-p2p-transmission-components-Fix-build-with-miniu.patch (text/plain), 1.99 KB, created by
Anton Saietskii
on 2024-07-15 13:34:28 UTC
(
hide
)
Description:
v0 (completely untested, apply via `git am`)
Filename:
MIME Type:
Creator:
Anton Saietskii
Created:
2024-07-15 13:34:28 UTC
Size:
1.99 KB
patch
obsolete
>From 5150f4e1cbdd8879d1602c480e2005da342adee5 Mon Sep 17 00:00:00 2001 >From: Anton Saietskii <vsasjason@gmail.com> >Date: Mon, 15 Jul 2024 16:29:58 +0259 >Subject: [PATCH] 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 >--- > net-p2p/transmission-components/Makefile | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/net-p2p/transmission-components/Makefile b/net-p2p/transmission-components/Makefile >index 030af7b9d4c7..6e3a1d57d3c7 100644 >--- a/net-p2p/transmission-components/Makefile >+++ b/net-p2p/transmission-components/Makefile >@@ -4,6 +4,9 @@ PORTREVISION= 1 > CATEGORIES= net-p2p > MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ > >+PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME}/commit/ >+PATCHFILES= febfe49ca3ecab1a7142ecb34012c1f0b2bcdee8.patch:-p1 >+ > MAINTAINER= mondo.debater_0q@icloud.com > COMMENT= Transmission BitTorrent client > WWW= https://www.transmissionbt.com >-- >2.45.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 280298
:
252077
|
252080
|
252081
|
252082
|
252089
|
252090