Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 414892 Details for
Bug 563462
net-p2p/bitcoin-qt-0.11.0 USE=upnp with >=net-libs/miniupnpc-1.9 - error: too few arguments to function 'UPNPDev* upnpDiscover
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
upstream patch
9f3e48e5219a09b5ddfd6883d1f0498910eff4b6.patch (text/plain), 958 bytes, created by
Oleh
on 2015-10-19 06:05:47 UTC
(
hide
)
Description:
upstream patch
Filename:
MIME Type:
Creator:
Oleh
Created:
2015-10-19 06:05:47 UTC
Size:
958 bytes
patch
obsolete
>From 9f3e48e5219a09b5ddfd6883d1f0498910eff4b6 Mon Sep 17 00:00:00 2001 >From: Pavel Vasin <pavel@vasin.nl> >Date: Sun, 23 Aug 2015 23:53:49 +0300 >Subject: [PATCH] add support for miniupnpc api version 14 > >The value of new arg ttl is set to 2 as it's recommended default. >--- > src/net.cpp | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/src/net.cpp b/src/net.cpp >index fb5726a..4c6331f 100644 >--- a/src/net.cpp >+++ b/src/net.cpp >@@ -1120,10 +1120,14 @@ void ThreadMapPort() > #ifndef UPNPDISCOVER_SUCCESS > /* miniupnpc 1.5 */ > devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0); >-#else >+#elif MINIUPNPC_API_VERSION < 14 > /* miniupnpc 1.6 */ > int error = 0; > devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error); >+#else >+ /* miniupnpc 1.9.20150730 */ >+ int error = 0; >+ devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, 2, &error); > #endif > > struct UPNPUrls urls;
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 563462
:
414890
| 414892