git: 64ac8b6d1d04 - 2023Q3 - audio/gnome-podcasts: unbreak build on i386

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

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

commit 64ac8b6d1d04b83a2e2d8a9100a7b5e846b6b943
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:58:41 +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
    
    (cherry picked from commit b67c43c411247180e964a69807af21716c17f443)
---
 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 c75d3145c529..5234372a5d47 100644
--- a/audio/gnome-podcasts/Makefile
+++ b/audio/gnome-podcasts/Makefile
@@ -34,7 +34,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