Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 658092 Details for
Bug 740196
net-p2p/amule: Compilation failure with libupnp-1.14.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for libupnp 1.14 API changes
amule-libupnp114.diff (text/plain), 706 bytes, created by
Hanno Böck
on 2020-09-03 10:41:51 UTC
(
hide
)
Description:
patch for libupnp 1.14 API changes
Filename:
MIME Type:
Creator:
Hanno Böck
Created:
2020-09-03 10:41:51 UTC
Size:
706 bytes
patch
obsolete
>--- a/src/UPnPBase.cpp 2016-09-16 09:55:07.000000000 +0200 >+++ b/src/UPnPBase.cpp 2020-09-03 12:37:43.861231093 +0200 >@@ -824,13 +824,17 @@ m_WanService(NULL) > // Null string at first > std::ostringstream msg; > >+ // Declare those here to avoid >+ // "jump to label âerrorâ [-fpermissive] crosses initialization >+ // of âchar* ipAddressâ" >+ unsigned short port; >+ char *ipAddress; >+ > // Start UPnP > int ret; >- char *ipAddress = NULL; >- unsigned short port = 0; >- ret = UpnpInit(ipAddress, udpPort); >+ ret = UpnpInit2(0, udpPort); > if (ret != UPNP_E_SUCCESS) { >- msg << "error(UpnpInit): Error code "; >+ msg << "error(UpnpInit2): Error code "; > goto error; > } > port = UpnpGetServerPort();
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 740196
: 658092