Gentoo Archives: gentoo-commits

From: Alfred Persson Forsberg <cat@××××××××.org>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/monero/
Date: Fri, 01 Jul 2022 16:57:36
Message-Id: 1656694616.d0dcc91c2cbf89947fc06feea66901afbe1c5866.cat@gentoo
1 commit: d0dcc91c2cbf89947fc06feea66901afbe1c5866
2 Author: Alfred Persson Forsberg <cat <AT> catcream <DOT> org>
3 AuthorDate: Fri Jul 1 12:38:03 2022 +0000
4 Commit: Alfred Persson Forsberg <cat <AT> catcream <DOT> org>
5 CommitDate: Fri Jul 1 16:56:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0dcc91c
7
8 net-p2p/monero: fix build for musl
9
10 This patch sets -DSTACK_TRACE=OFF when elibc_musl is
11 defined. Execinfo is not provided by musl libc and therefore the build
12 fails.
13
14 Other, and probably better solutions would be to not depend on
15 execinfo or to package a standalone
16 libexecinfo (https://github.com/mikroskeem/libexecinfo) and add it to
17 the DEPEND-array if using musl. But that's better to take upstream. I
18 think this is totally fine for most users for now.
19
20 Signed-off-by: Alfred Persson Forsberg <cat <AT> catcream.org>
21 (cherry picked from commit 127aa286150e16e92305fda7cbbdde70da976147)
22
23 net-p2p/monero/monero-0.17.3.2.ebuild | 2 ++
24 1 file changed, 2 insertions(+)
25
26 diff --git a/net-p2p/monero/monero-0.17.3.2.ebuild b/net-p2p/monero/monero-0.17.3.2.ebuild
27 index 656c93edf..a3816f142 100644
28 --- a/net-p2p/monero/monero-0.17.3.2.ebuild
29 +++ b/net-p2p/monero/monero-0.17.3.2.ebuild
30 @@ -52,6 +52,8 @@ src_configure() {
31 -DUSE_DEVICE_TREZOR=OFF
32 )
33
34 + use elibc_musl && mycmakeargs+=( -DSTACK_TRACE=OFF )
35 +
36 cmake_src_configure
37 }