<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5c6138f0863c8cab8a48c3e33b01d8a0e4502d91">https://github.com/macports/macports-ports/commit/5c6138f0863c8cab8a48c3e33b01d8a0e4502d91</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5c6138f0863c8cab8a48c3e33b01d8a0e4502d91
</span>Author: Sergey Fedorov <barracuda@macos-powerpc.org>
AuthorDate: Thu Aug 1 08:01:15 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> godot: revbump for miniupnpc
</span>---
games/godot/Portfile | 6 +++++-
games/godot/files/patch-miniupnpc-18.diff | 14 ++++++++++++++
2 files changed, 19 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/godot/Portfile b/games/godot/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ac2f2466637..1e543837d05 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/games/godot/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/godot/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,6 +26,7 @@ if {$subport eq ${name}} {
</span> PortGroup legacysupport 1.1
github.setup ${name}engine ${name} 3.5.3 "" -stable
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 1
</span>
github.tarball_from archive
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,13 +44,16 @@ if {$subport eq ${name}} {
</span> # compile will fail, complaining that 'shared_time_mutex' was
# introduced in macOS 10.12.
legacysupport.use_mp_libcxx yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-miniupnpc-18.diff
</span> }
subport ${name}-3.2 {
PortGroup obsolete 1.0
version 3.2.3
<span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 3
</span> replaced_by ${name}
# 2021-12-09: I believe that it would be safe to completely remove
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/godot/files/patch-miniupnpc-18.diff b/games/godot/files/patch-miniupnpc-18.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..b232a8dd0cb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/godot/files/patch-miniupnpc-18.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- modules/upnp/upnp.cpp 2023-09-25 04:26:39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ modules/upnp/upnp.cpp 2024-08-01 09:29:35
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -145,7 +145,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ char addr[16];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (MINIUPNPC_API_VERSION >= 18)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int i = UPNP_GetValidIGD(devlist, urls, &data, (char *)&addr, 16, nullptr, 0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int i = UPNP_GetValidIGD(devlist, urls, &data, (char *)&addr, 16);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (i != 1) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FreeUPNPUrls(urls);
</span></pre><pre style='margin:0'>
</pre>