diff --git a/net-p2p/feather/feather-2.1.0.ebuild b/net-p2p/feather/feather-2.1.0.ebuild index fab406b814..697aca1eb4 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 0000000000..d048d13de2 --- /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 ++#include + #include + #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 + #include + #include ++#include + #include + #include + #include