1 |
commit: 3f4de5542dca6bcb0f89e2d89ce4b11cc89cbda7 |
2 |
Author: Francisco Blas (klondike) Izquierdo Riera <klondike <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 26 10:34:06 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 28 08:04:01 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f4de554 |
7 |
|
8 |
net-p2p/eiskaltdcpp: Fix upnp compilation |
9 |
|
10 |
The UPNP mapping manager was missing including the |
11 |
format.h file as part of their includes. Add a patch |
12 |
(also submitted to upstream) to address this. |
13 |
|
14 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
15 |
Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike <AT> gentoo.org> |
16 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
17 |
|
18 |
net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.1.ebuild | 1 + |
19 |
.../eiskaltdcpp-2.4.1-fix_upnp_compilation.patch | 26 ++++++++++++++++++++++ |
20 |
2 files changed, 27 insertions(+) |
21 |
|
22 |
diff --git a/net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.1.ebuild b/net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.1.ebuild |
23 |
index e9ac1f096f6..620632d1c3a 100644 |
24 |
--- a/net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.1.ebuild |
25 |
+++ b/net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.1.ebuild |
26 |
@@ -98,6 +98,7 @@ DOCS=( AUTHORS ChangeLog.txt ) |
27 |
|
28 |
PATCHES=( |
29 |
"${FILESDIR}/${PN}-2.2.10-cmake_lua_version.patch" |
30 |
+ "${FILESDIR}/${P}-fix_upnp_compilation.patch" |
31 |
) |
32 |
|
33 |
CMAKE_REMOVE_MODULES_LIST="FindLua" |
34 |
|
35 |
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 |
36 |
new file mode 100644 |
37 |
index 00000000000..57ff8d27049 |
38 |
--- /dev/null |
39 |
+++ b/net-p2p/eiskaltdcpp/files/eiskaltdcpp-2.4.1-fix_upnp_compilation.patch |
40 |
@@ -0,0 +1,26 @@ |
41 |
+From e534e871c7f22b3c0bb28d9f91f71b824cf68a0e Mon Sep 17 00:00:00 2001 |
42 |
+From: "Francisco Blas (klondike) Izquierdo Riera" <klondike@××××××××.es> |
43 |
+Date: Fri, 26 Feb 2021 11:15:08 +0100 |
44 |
+Subject: [PATCH] Add missing format.h include in the upnp mapping management |
45 |
+ code to fix compile-time issues (Thanks juippis from Gentoo for finding and |
46 |
+ reporting this) |
47 |
+ |
48 |
+--- |
49 |
+ dcpp/MappingManager.cpp | 1 + |
50 |
+ 1 file changed, 1 insertion(+) |
51 |
+ |
52 |
+diff --git a/dcpp/MappingManager.cpp b/dcpp/MappingManager.cpp |
53 |
+index 42c4cbb4..c1d84f64 100644 |
54 |
+--- a/dcpp/MappingManager.cpp |
55 |
++++ b/dcpp/MappingManager.cpp |
56 |
+@@ -22,6 +22,7 @@ |
57 |
+ #include "ConnectionManager.h" |
58 |
+ #include "SearchManager.h" |
59 |
+ #include "LogManager.h" |
60 |
++#include "format.h" |
61 |
+ #include "version.h" |
62 |
+ #include "ConnectivityManager.h" |
63 |
+ #ifdef USE_MINIUPNP |
64 |
+-- |
65 |
+2.26.2 |
66 |
+ |