FreeBSD Bugzilla – Attachment 252090 Details for
Bug 280298
net/miniupnpc: in 2.2.8 changed API for UPNP_GetValidIGD: build error net-p2p/transmission-components and other
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for games/openclonk
0001-games-openclonk-Fix-build-with-miniupnpc-2.2.8.patch (text/plain), 1.27 KB, created by
Kevin Zheng
on 2024-07-16 02:04:00 UTC
(
hide
)
Description:
Patch for games/openclonk
Filename:
MIME Type:
Creator:
Kevin Zheng
Created:
2024-07-16 02:04:00 UTC
Size:
1.27 KB
patch
obsolete
>From e2d0763033eb250f9b75b00f56d3a7f7cf719c46 Mon Sep 17 00:00:00 2001 >From: Kevin Zheng <kevinz5000@gmail.com> >Date: Mon, 15 Jul 2024 19:02:13 -0700 >Subject: [PATCH] games/openclonk: Fix build with miniupnpc 2.2.8 > >--- > .../files/patch-src_network_C4Network2UPnPLinux.cpp | 11 +++++++++++ > 1 file changed, 11 insertions(+) > create mode 100644 games/openclonk/files/patch-src_network_C4Network2UPnPLinux.cpp > >diff --git a/games/openclonk/files/patch-src_network_C4Network2UPnPLinux.cpp b/games/openclonk/files/patch-src_network_C4Network2UPnPLinux.cpp >new file mode 100644 >index 000000000000..92783797bb41 >--- /dev/null >+++ b/games/openclonk/files/patch-src_network_C4Network2UPnPLinux.cpp >@@ -0,0 +1,11 @@ >+--- src/network/C4Network2UPnPLinux.cpp.orig 2024-07-16 01:44:55 UTC >++++ src/network/C4Network2UPnPLinux.cpp >+@@ -77,7 +77,7 @@ void C4Network2UPnPP::Init() >+ if ((devlist = upnpDiscover(2000, nullptr, nullptr, UPNP_LOCAL_PORT_ANY, 0, 2, &error))) >+ #endif >+ { >+- if ((status = UPNP_GetValidIGD(devlist, &upnp_urls, &igd_data, lanaddr, sizeof(lanaddr)))) >++ if ((status = UPNP_GetValidIGD(devlist, &upnp_urls, &igd_data, lanaddr, sizeof(lanaddr), nullptr, 0))) >+ { >+ ThreadLogS("UPnP: Found IGD %s (status %d)", upnp_urls.controlURL, status); >+ initialized = true; >-- >2.45.2 >
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 280298
:
252077
|
252080
|
252081
|
252082
|
252089
| 252090