mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
net-p2p/feather: add some extra includes for monero
Closes: https://bugs.gentoo.org/887871 Signed-off-by: Adam Pimentel <adam.pimentel@protonmail.com>
This commit is contained in:
@@ -98,6 +98,9 @@ src_prepare() {
|
||||
default
|
||||
echo "#define FEATHER_VERSION \"${PV}\"" > "${WORKDIR}"/${PF}/src/config-feather.h || die
|
||||
echo "#define TOR_VERSION \"NOT_EMBEDDED\"" >> "${WORKDIR}"/${PF}/src/config-feather.h || die
|
||||
pushd monero
|
||||
eapply "${FILESDIR}"/monero_add_some_includes.patch
|
||||
popd
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
|
||||
25
net-p2p/feather/files/monero_add_some_includes.patch
Normal file
25
net-p2p/feather/files/monero_add_some_includes.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
diff --git a/src/common/dns_utils.cpp b/src/common/dns_utils.cpp
|
||||
index e00421f873e..da144aca403 100644
|
||||
--- a/src/common/dns_utils.cpp
|
||||
+++ b/src/common/dns_utils.cpp
|
||||
@@ -30,6 +30,8 @@
|
||||
// check local first (in the event of static or in-source compilation of libunbound)
|
||||
#include "unbound.h"
|
||||
|
||||
+#include <deque>
|
||||
+#include <set>
|
||||
#include <stdlib.h>
|
||||
#include "include_base_utils.h"
|
||||
#include "common/threadpool.h"
|
||||
diff --git a/src/common/threadpool.h b/src/common/threadpool.h
|
||||
index 53421e18b30..fcf8ca9455a 100644
|
||||
--- a/src/common/threadpool.h
|
||||
+++ b/src/common/threadpool.h
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <boost/thread/mutex.hpp>
|
||||
#include <boost/thread/thread.hpp>
|
||||
#include <cstddef>
|
||||
+#include <deque>
|
||||
#include <functional>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
Reference in New Issue
Block a user