From f737d40239612d9c7e73f74908d1427aef0cf572 Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 13 Aug 2019 17:22:36 +0200 Subject: [PATCH] thunderbird: use nodebug on 32-bit hosts, also broken on ppc32 --- srcpkgs/thunderbird/template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/thunderbird/template b/srcpkgs/thunderbird/template index 635c63b7216..0048d50de61 100644 --- a/srcpkgs/thunderbird/template +++ b/srcpkgs/thunderbird/template @@ -30,9 +30,13 @@ depends="nss>=3.37.3 desktop-file-utils hicolor-icon-theme" build_options="alsa dbus pulseaudio startup_notification xscreensaver sndio wayland" build_options_default="alsa dbus pulseaudio startup_notification xscreensaver sndio wayland" -case "$XBPS_TARGET_MACHINE" in - i686-musl) broken="mozglue/misc/StackWalk.cpp:851:2: error: #error Unsupported configuration";; - i686) nodebug=yes;; +if [ "$XBPS_WORDSIZE" -eq 32 ]; then + nodebug=yes +fi + +case $XBPS_TARGET_MACHINE in + ppc64*) ;; + ppc*) broken="ftbfs in several places" ;; esac post_extract() {