mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-p2p/airdcpp-webclient: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
committed by
Conrad Kostecki
parent
d3510e7796
commit
c7c9370d17
@@ -1,22 +0,0 @@
|
||||
https://github.com/airdcpp/airdcpp-windows/commit/2b1cd3d05774ce8134186bb9977a45cf00aaaef5
|
||||
|
||||
From 2b1cd3d05774ce8134186bb9977a45cf00aaaef5 Mon Sep 17 00:00:00 2001
|
||||
From: maksis <maksis@adrenaline-network.com>
|
||||
Date: Thu, 13 Jun 2024 20:05:17 +0300
|
||||
Subject: [PATCH] Add support for miniupnpc 2.2.8
|
||||
|
||||
--- a/airdcpp-core/airdcpp/Mapper_MiniUPnPc.cpp
|
||||
+++ b/airdcpp-core/airdcpp/Mapper_MiniUPnPc.cpp
|
||||
@@ -108,7 +108,12 @@ bool Mapper_MiniUPnPc::init() {
|
||||
UPNPUrls urls;
|
||||
IGDdatas data;
|
||||
|
||||
+#if (MINIUPNPC_API_VERSION >= 18)
|
||||
+ auto ret = UPNP_GetValidIGD(devices, &urls, &data, 0, 0, nullptr, 0);
|
||||
+#else
|
||||
auto ret = UPNP_GetValidIGD(devices, &urls, &data, 0, 0);
|
||||
+#endif
|
||||
+
|
||||
|
||||
bool ok = ret == 1;
|
||||
if(ok) {
|
||||
Reference in New Issue
Block a user