commit: 584a2e133278dbc3b451b110ef57c1706863c460
Author: RavFX XMR <ravfx <AT> xmr <DOT> mx>
AuthorDate: Tue Mar 3 22:15:05 2026 +0000
Commit: RavFX <ravfx <AT> xmr <DOT> mx>
CommitDate: Tue Mar 3 22:15:05 2026 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=584a2e13
net-p2p/feather: Add a patch to fix build
Signed-off-by: RavFX XMR <ravfx <AT> xmr.mx>
.../feather/{feather-2.8.1-r1.ebuild => feather-2.8.1-r2.ebuild} | 1 +
net-p2p/feather/files/fix-epee-missing-include.patch | 8 ++++++++
2 files changed, 9 insertions(+)
diff --git a/net-p2p/feather/feather-2.8.1-r1.ebuild
b/net-p2p/feather/feather-2.8.1-r2.ebuild
similarity index 98%
rename from net-p2p/feather/feather-2.8.1-r1.ebuild
rename to net-p2p/feather/feather-2.8.1-r2.ebuild
index ef76bdc8f7..c878600149 100644
--- a/net-p2p/feather/feather-2.8.1-r1.ebuild
+++ b/net-p2p/feather/feather-2.8.1-r2.ebuild
@@ -50,6 +50,7 @@ BDEPEND="
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/featherwallet.asc
src_prepare() {
+ eapply "${FILESDIR}/fix-epee-missing-include.patch"
default
echo "#define FEATHER_VERSION \"${PV}\"" >
"${WORKDIR}"/${P}/src/config-feather.h || die
echo "#define TOR_VERSION \"NOT_EMBEDDED\"" >>
"${WORKDIR}"/${P}/src/config-feather.h || die
diff --git a/net-p2p/feather/files/fix-epee-missing-include.patch
b/net-p2p/feather/files/fix-epee-missing-include.patch
new file mode 100644
index 0000000000..74d5b315cd
--- /dev/null
+++ b/net-p2p/feather/files/fix-epee-missing-include.patch
@@ -0,0 +1,8 @@
+diff '--color=auto' -Naur
orig/monero/contrib/epee/src/abstract_http_client.cpp
final/monero/contrib/epee/src/abstract_http_client.cpp
+--- orig/monero/contrib/epee/src/abstract_http_client.cpp 2025-04-12
18:06:53.000000000 -0600
++++ final/monero/contrib/epee/src/abstract_http_client.cpp 2026-03-03
16:03:26.000000000 -0600
+@@ -1,3 +1,4 @@
++#include <math.h>
+ #include "net/abstract_http_client.h"
+ #include "net/http_base.h"
+ #include "net/net_parse_helpers.h"