mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
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>
This commit is contained in:
parent
00aecb2197
commit
3f4de5542d
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user