commit:     fe06d8ae6ef5da38a917a05ca70d7fd223d2068d
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Nov 23 16:38:36 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 22:23:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe06d8ae

net-vpn/i2pd: remove unused patch

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/39432
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 net-vpn/i2pd/files/i2pd-2.52.0-miniupnp.patch | 37 ---------------------------
 1 file changed, 37 deletions(-)

diff --git a/net-vpn/i2pd/files/i2pd-2.52.0-miniupnp.patch 
b/net-vpn/i2pd/files/i2pd-2.52.0-miniupnp.patch
deleted file mode 100644
index 5c9ef9231351..000000000000
--- a/net-vpn/i2pd/files/i2pd-2.52.0-miniupnp.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-commit 192e9ad7f6a6995ecb843fbbefe5425d0b37f6ee
-Author: Stefan Strogin <[email protected]>
-Date:   Mon Jun 17 17:10:23 2024 +0000
-
-    Support miniupnp-2.2.8 (fixes #2071)
-    
-    Use UPNP_GetValidIGD for getting external IP.
-
-diff --git a/daemon/UPnP.cpp b/daemon/UPnP.cpp
-index 043d935e..7885578e 100644
---- a/daemon/UPnP.cpp
-+++ b/daemon/UPnP.cpp
-@@ -115,10 +115,16 @@ namespace transport
-                       return;
-               }
- 
-+#if (MINIUPNPC_API_VERSION >= 18)
-+              err = UPNP_GetValidIGD (m_Devlist, &m_upnpUrls, &m_upnpData, 
m_NetworkAddr, sizeof (m_NetworkAddr),
-+                                      m_externalIPAddress, sizeof 
(m_externalIPAddress));
-+#else
-               err = UPNP_GetValidIGD (m_Devlist, &m_upnpUrls, &m_upnpData, 
m_NetworkAddr, sizeof (m_NetworkAddr));
-+#endif
-               m_upnpUrlsInitialized=err!=0;
-               if (err == UPNP_IGD_VALID_CONNECTED)
-               {
-+#if (MINIUPNPC_API_VERSION < 18)
-                       err = UPNP_GetExternalIPAddress (m_upnpUrls.controlURL, 
m_upnpData.first.servicetype, m_externalIPAddress);
-                       if(err != UPNPCOMMAND_SUCCESS)
-                       {
-@@ -126,6 +132,7 @@ namespace transport
-                               return;
-                       }
-                       else
-+#endif
-                       {
-                               LogPrint (eLogError, "UPnP: Found Internet 
Gateway Device ", m_upnpUrls.controlURL);
-                               if (!m_externalIPAddress[0])

Reply via email to