summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlistout <listout@protonmail.com>2022-09-13 15:50:17 +0530
committerGuilherme Amadio <amadio@gentoo.org>2022-09-14 16:54:52 +0200
commit144edbafdebe29ac1d2d3edede2385364d740ea6 (patch)
tree406535672d38540a4bace6ccd240874da6f7a238 /sci-physics/geant/geant-4.11.0.2-r1.ebuild
parentkde-apps/okular: Add pkg metadata to IUSE mobi (diff)
downloadgentoo-144edbafdebe29ac1d2d3edede2385364d740ea6.tar.gz
gentoo-144edbafdebe29ac1d2d3edede2385364d740ea6.tar.bz2
gentoo-144edbafdebe29ac1d2d3edede2385364d740ea6.zip
sci-physics/geant: Fix building on musl, avoid execinfo.h
Avoid including execinfo.h and calling backtrace function on system that don't provide the header. Closes: https://bugs.gentoo.org/829151 Closes: https://github.com/gentoo/gentoo/pull/26313 Signed-off-by: brahmajit das <listout@protonmail.com> Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'sci-physics/geant/geant-4.11.0.2-r1.ebuild')
-rw-r--r--sci-physics/geant/geant-4.11.0.2-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sci-physics/geant/geant-4.11.0.2-r1.ebuild b/sci-physics/geant/geant-4.11.0.2-r1.ebuild
index 1eaf3d9af34b..e43a735dfdc4 100644
--- a/sci-physics/geant/geant-4.11.0.2-r1.ebuild
+++ b/sci-physics/geant/geant-4.11.0.2-r1.ebuild
@@ -75,6 +75,10 @@ RDEPEND="
S="${WORKDIR}/${MY_P}"
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.11.0.2-musl-avoid-execinfo.patch
+)
+
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_DATADIR="${EPREFIX}/usr/share/geant4"