net-p2p/feather: Add a patch to fix build

Signed-off-by: RavFX XMR <ravfx@xmr.mx>
This commit is contained in:
RavFX XMR
2026-03-03 16:15:05 -06:00
parent 418c0ae6b4
commit 584a2e1332
2 changed files with 9 additions and 0 deletions

View File

@@ -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

View File

@@ -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"