FreeBSD Bugzilla – Attachment 162034 Details for
Bug 203768
net-p2p/transmission-cli: Fix build failure with after net/miniupnpc update
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for miniupnpc issue
patch-libtransmission_upnp.c (text/plain), 627 bytes, created by
Bernard Spil
on 2015-10-14 12:55:28 UTC
(
hide
)
Description:
patch for miniupnpc issue
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2015-10-14 12:55:28 UTC
Size:
627 bytes
patch
obsolete
>--- libtransmission/upnp.c.orig 2014-07-01 17:08:59 UTC >+++ libtransmission/upnp.c >@@ -86,7 +86,11 @@ tr_upnpDiscover (int msec) > struct UPNPDev * ret; > bool have_err; > >-#if (MINIUPNPC_API_VERSION >= 8) /* adds ipv6 and error args */ >+#if (MINIUPNPC_API_VERSION >= 14) /* security fix */ >+ int err = UPNPDISCOVER_SUCCESS; >+ ret = upnpDiscover (msec, NULL, NULL, 0, 0, 2, &err); >+ have_err = err != UPNPDISCOVER_SUCCESS; >+#elif (MINIUPNPC_API_VERSION >= 8) /* adds ipv6 and error args */ > int err = UPNPDISCOVER_SUCCESS; > ret = upnpDiscover (msec, NULL, NULL, 0, 0, &err); > have_err = err != UPNPDISCOVER_SUCCESS;
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 203768
:
162034
|
162035
|
162036