Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 896733 Details for
Bug 934054
net-im/swift-4.0.3-r2 - [ncurses-6.5] Swiften/.../MiniUPnPInterface.cpp: error: too few arguments to function int UPNP_GetValidIGD(UPNPDev , UPNPUrls , IGDdatas , c
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
USERPATCH miniupnpc API version 18 patch
swift-4.0.3-miniupnp-api-18.patch (text/plain), 757 bytes, created by
Bill Prendergast
on 2024-07-01 20:51:41 UTC
(
hide
)
Description:
USERPATCH miniupnpc API version 18 patch
Filename:
MIME Type:
Creator:
Bill Prendergast
Created:
2024-07-01 20:51:41 UTC
Size:
757 bytes
patch
obsolete
>https://bugs.gentoo.org/934054 > >From: Bill Prendergast <dek.devel@baisenvar.info> > >Fix build with newer net-libs/miniupnpc (API 18) > >--- a/Swiften/Network/MiniUPnPInterface.cpp >+++ b/Swiften/Network/MiniUPnPInterface.cpp >@@ -45,9 +45,16 @@ MiniUPnPInterface::MiniUPnPInterface() : p(new Private()) { > } > > char lanAddress[64]; >+#if MINIUPNPC_API_VERSION > 17 >+ char wanAddress[64]; >+ if (!UPNP_GetValidIGD(p->deviceList, &p->urls, &p->data, lanAddress, sizeof(lanAddress), wanAddress, sizeof(wanAddress))) { >+ return; >+ } >+#else > if (!UPNP_GetValidIGD(p->deviceList, &p->urls, &p->data, lanAddress, sizeof(lanAddress))) { > return; > } >+#endif > p->localAddress = std::string(lanAddress); > p->isValid = true; > }
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 934054
:
895578
|
895579
|
895580
|
895581
|
895582
|
895583
|
895584
|
895585
|
895586
|
896732
| 896733