From 3f4de5542dca6bcb0f89e2d89ce4b11cc89cbda7 Mon Sep 17 00:00:00 2001 From: "Francisco Blas (klondike) Izquierdo Riera" Date: Fri, 26 Feb 2021 11:34:06 +0100 Subject: 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) Signed-off-by: Joonas Niilola --- net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.1.ebuild | 1 + .../eiskaltdcpp-2.4.1-fix_upnp_compilation.patch | 26 ++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 net-p2p/eiskaltdcpp/files/eiskaltdcpp-2.4.1-fix_upnp_compilation.patch (limited to 'net-p2p/eiskaltdcpp') 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" +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 + -- cgit v1.2.3-65-gdbad