commit: 58e53411880115ea269c4b017b97be7c8ba1df5f Author: Adam Pimentel <adam.pimentel <AT> protonmail <DOT> com> AuthorDate: Sun Dec 25 20:59:37 2022 +0000 Commit: Adam Pimentel <adam.pimentel <AT> protonmail <DOT> com> CommitDate: Sun Dec 25 20:59:37 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=58e53411
net-p2p/feather: add some extra includes for monero Closes: https://bugs.gentoo.org/887871 Signed-off-by: Adam Pimentel <adam.pimentel <AT> protonmail.com> net-p2p/feather/feather-2.1.0.ebuild | 3 +++ .../feather/files/monero_add_some_includes.patch | 25 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/net-p2p/feather/feather-2.1.0.ebuild b/net-p2p/feather/feather-2.1.0.ebuild index fab406b81..697aca1eb 100644 --- a/net-p2p/feather/feather-2.1.0.ebuild +++ b/net-p2p/feather/feather-2.1.0.ebuild @@ -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 } diff --git a/net-p2p/feather/files/monero_add_some_includes.patch b/net-p2p/feather/files/monero_add_some_includes.patch new file mode 100644 index 000000000..d048d13de --- /dev/null +++ b/net-p2p/feather/files/monero_add_some_includes.patch @@ -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>
