commit: 32c82e7abd7c5623a005cf3e96b14fd2901d3a21 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Tue Dec 30 22:01:38 2025 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Tue Dec 30 22:01:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/dev/ulm.git/commit/?id=32c82e7a
x11-libs/motif: Re-add -fno-strict-aliasing to fix a segfault in uil Bug: https://github.com/thentenaar/motif/issues/5 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> x11-libs/motif/motif-2.4.0.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/x11-libs/motif/motif-2.4.0.ebuild b/x11-libs/motif/motif-2.4.0.ebuild index c940677..88f0b1e 100644 --- a/x11-libs/motif/motif-2.4.0.ebuild +++ b/x11-libs/motif/motif-2.4.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools multilib-minimal toolchain-funcs virtualx +inherit autotools flag-o-matic multilib-minimal toolchain-funcs virtualx DESCRIPTION="The Motif user interface component toolkit" HOMEPAGE="https://github.com/thentenaar/motif" @@ -50,6 +50,9 @@ src_prepare() { AT_M4DIR=. eautoreconf + # feel free to fix properly if you care + append-flags -fno-strict-aliasing + if use !elibc_glibc && use !elibc_musl; then # libiconv detection in configure script doesn't always work # http://bugs.motifzone.net/show_bug.cgi?id=1423 @@ -88,6 +91,10 @@ multilib_src_compile() { wmluiltok_LDADD="-lfl" wmluiltok fi emake + + if multilib_is_native_abi && use examples; then + emake -C demos + fi } multilib_src_test() {
