git: b67c43c41124 - main - audio/gnome-podcasts: unbreak build on i386

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 29 Aug 2023 13:58:09 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b67c43c411247180e964a69807af21716c17f443

commit b67c43c411247180e964a69807af21716c17f443
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-07-11 05:18:21 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-08-29 13:57:59 +0000

    audio/gnome-podcasts: unbreak build on i386
    
    fatal runtime error: Rust cannot catch foreign exceptions
    thread '<unnamed>' panicked at '/wrkdirs/usr/ports/lang/rust/work/rustc-1.71.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:1535:21: worker thread panicked', compiler/rustc_middle/src/util/bug.rs:36:26
    
    (signal: 6, SIGABRT: process abort signal)
    
    Reported by:    pkg-fallout
---
 audio/gnome-podcasts/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/audio/gnome-podcasts/Makefile b/audio/gnome-podcasts/Makefile
index 018e6d814180..bc6bd05f64e2 100644
--- a/audio/gnome-podcasts/Makefile
+++ b/audio/gnome-podcasts/Makefile
@@ -29,7 +29,8 @@ GLIB_SCHEMAS=	org.gnome.Podcasts.gschema.xml
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == powerpc
+.if ${ARCH} == i386 || ${ARCH} == powerpc
+# https://github.com/rust-lang/rust/issues/85598
 LTO_UNSAFE=	yes
 .endif