diff options
author | Francisco Blas (klondike) Izquierdo Riera <klondike@gentoo.org> | 2021-02-26 11:34:06 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-02-28 10:04:01 +0200 |
commit | 3f4de5542dca6bcb0f89e2d89ce4b11cc89cbda7 (patch) | |
tree | 8a0256e02a85d238ff0d00d0dfec745523236476 /net-p2p | |
parent | net-p2p/eiskaltdcpp: Drop older versions and backported patches (diff) | |
download | gentoo-3f4de5542dca6bcb0f89e2d89ce4b11cc89cbda7.tar.gz gentoo-3f4de5542dca6bcb0f89e2d89ce4b11cc89cbda7.tar.bz2 gentoo-3f4de5542dca6bcb0f89e2d89ce4b11cc89cbda7.zip |
net-p2p/eiskaltdcpp: Fix upnp compilation
The UPNP mapping manager was missing including the
format.h file as part of their includes. Add a patch
(also submitted to upstream) to address this.
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.1.ebuild | 1 | ||||
-rw-r--r-- | net-p2p/eiskaltdcpp/files/eiskaltdcpp-2.4.1-fix_upnp_compilation.patch | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.1.ebuild b/net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.1.ebuild index e9ac1f096f6f..620632d1c3a4 100644 --- a/net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.1.ebuild +++ b/net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.1.ebuild @@ -98,6 +98,7 @@ DOCS=( AUTHORS ChangeLog.txt ) PATCHES=( "${FILESDIR}/${PN}-2.2.10-cmake_lua_version.patch" + "${FILESDIR}/${P}-fix_upnp_compilation.patch" ) CMAKE_REMOVE_MODULES_LIST="FindLua" diff --git a/net-p2p/eiskaltdcpp/files/eiskaltdcpp-2.4.1-fix_upnp_compilation.patch b/net-p2p/eiskaltdcpp/files/eiskaltdcpp-2.4.1-fix_upnp_compilation.patch new file mode 100644 index 000000000000..57ff8d270492 --- /dev/null +++ b/net-p2p/eiskaltdcpp/files/eiskaltdcpp-2.4.1-fix_upnp_compilation.patch @@ -0,0 +1,26 @@ +From e534e871c7f22b3c0bb28d9f91f71b824cf68a0e Mon Sep 17 00:00:00 2001 +From: "Francisco Blas (klondike) Izquierdo Riera" <klondike@klondike.es> +Date: Fri, 26 Feb 2021 11:15:08 +0100 +Subject: [PATCH] Add missing format.h include in the upnp mapping management + code to fix compile-time issues (Thanks juippis from Gentoo for finding and + reporting this) + +--- + dcpp/MappingManager.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/dcpp/MappingManager.cpp b/dcpp/MappingManager.cpp +index 42c4cbb4..c1d84f64 100644 +--- a/dcpp/MappingManager.cpp ++++ b/dcpp/MappingManager.cpp +@@ -22,6 +22,7 @@ + #include "ConnectionManager.h" + #include "SearchManager.h" + #include "LogManager.h" ++#include "format.h" + #include "version.h" + #include "ConnectivityManager.h" + #ifdef USE_MINIUPNP +-- +2.26.2 + |