summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2023-11-20 22:14:04 +0100
committerSam James <sam@gentoo.org>2023-11-22 11:32:31 +0000
commitdc601d53907c786e9db7250f5cacbaf8d977af47 (patch)
treecb902499d8a2da5564ff040401d110a5e49ed2c0 /mail-filter
parentapp-emulation/libvirt: Fix build with dev-libs/libxml2-2.12.0 (diff)
downloadgentoo-dc601d53907c786e9db7250f5cacbaf8d977af47.tar.gz
gentoo-dc601d53907c786e9db7250f5cacbaf8d977af47.tar.bz2
gentoo-dc601d53907c786e9db7250f5cacbaf8d977af47.zip
mail-filter/rspamd: enable Backward for glibc only
Enabling Backward for glibc only solves the problem for other libcs like musl, which does not provide execinfo.h. Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Closes: https://bugs.gentoo.org/917643 Closes: https://github.com/gentoo/gentoo/pull/33925 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/rspamd/rspamd-3.7.4.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail-filter/rspamd/rspamd-3.7.4.ebuild b/mail-filter/rspamd/rspamd-3.7.4.ebuild
index 7f70037f8cbe..ad8d2656579e 100644
--- a/mail-filter/rspamd/rspamd-3.7.4.ebuild
+++ b/mail-filter/rspamd/rspamd-3.7.4.ebuild
@@ -99,6 +99,9 @@ src_configure() {
-DSYSTEM_ZSTD=ON
# For bundled https://github.com/bombela/backward-cpp
+ # Bundled backward library uses execinfo.h in current setting, which is
+ # available in glibc, but not in musl. Let's enable it for glibc only.
+ -DENABLE_BACKWARD=$(usex elibc_glibc ON OFF) # bug 917643
-DSTACK_DETAILS_AUTO_DETECT=OFF
-DENABLE_BLAS=$(usex blas ON OFF)