Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 413502 Details for
Bug 562020
net-p2p/transmission-2.84-r1 build fails with net-libs/miniupnpc-1.9.20150917-r1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix compatibility with miniupnp api 14
upnp_ttl.patch (text/plain), 704 bytes, created by
Sander Sweers
on 2015-10-02 14:11:06 UTC
(
hide
)
Description:
fix compatibility with miniupnp api 14
Filename:
MIME Type:
Creator:
Sander Sweers
Created:
2015-10-02 14:11:06 UTC
Size:
704 bytes
patch
obsolete
>Index: libtransmission/upnp.c >=================================================================== >--- libtransmission/upnp.c (revision 14564) >+++ libtransmission/upnp.c (working copy) >@@ -86,8 +86,12 @@ > struct UPNPDev * ret; > bool have_err; > >-#if (MINIUPNPC_API_VERSION >= 8) /* adds ipv6 and error args */ >+#if (MINIUPNPC_API_VERSION >= 14) /* adds ttl */ > 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; > #else
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 562020
: 413502