diff options
-rw-r--r-- | net-mail/dovecot/dovecot-2.3.15-r1.ebuild | 11 | ||||
-rw-r--r-- | profiles/arch/riscv/package.use.mask | 1 |
2 files changed, 10 insertions, 2 deletions
diff --git a/net-mail/dovecot/dovecot-2.3.15-r1.ebuild b/net-mail/dovecot/dovecot-2.3.15-r1.ebuild index b8d050347b01..8c886e6a7a53 100644 --- a/net-mail/dovecot/dovecot-2.3.15-r1.ebuild +++ b/net-mail/dovecot/dovecot-2.3.15-r1.ebuild @@ -6,7 +6,7 @@ EAPI=7 LUA_COMPAT=( lua5-1 lua5-3 ) # do not add a ssl USE flag. ssl is mandatory SSL_DEPS_SKIP=1 -inherit autotools lua-single ssl-cert systemd toolchain-funcs +inherit autotools flag-o-matic lua-single ssl-cert systemd toolchain-funcs MY_P="${P/_/.}" #MY_S="${PN}-ce-${PV}" @@ -29,7 +29,7 @@ HOMEPAGE="https://www.dovecot.org/" SLOT="0" LICENSE="LGPL-2.1 MIT" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE_DOVECOT_AUTH="kerberos ldap lua mysql pam postgres sqlite" IUSE_DOVECOT_COMPRESS="bzip2 lzma lz4 zlib zstd" @@ -99,6 +99,13 @@ src_prepare() { # bug 657108 #elibtoolize eautoreconf + + if use riscv; then + # Without this, src_tests dies due to failed asserts in test-backtrace.c; + # See https://salsa.debian.org/debian/dovecot/-/merge_requests/8 . + # Might in fact be needed on other arches as well. + append-cflags -funwind-tables + fi } src_configure() { diff --git a/profiles/arch/riscv/package.use.mask b/profiles/arch/riscv/package.use.mask index f634b99a3034..9d8e925559f0 100644 --- a/profiles/arch/riscv/package.use.mask +++ b/profiles/arch/riscv/package.use.mask @@ -96,6 +96,7 @@ dev-util/strace unwind media-libs/gstreamer unwind media-libs/mesa unwind net-libs/zeromq unwind +net-mail/dovecot unwind x11-base/xorg-server unwind x11-base/xwayland unwind |