git: 029a21588c8f - main - audio/mumble: with LTO on "QWidget: Cannot create a QWidget without QApplication"

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 15 Aug 2023 12:45:48 UTC
The branch main has been updated by vvd:

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

commit 029a21588c8ff721a607c4d9ca159b8574a73513
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2023-08-15 12:40:56 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2023-08-15 12:40:56 +0000

    audio/mumble: with LTO on "QWidget: Cannot create a QWidget without QApplication"
    
    With option LTO on mumble print "QWidget: Cannot create a QWidget without QApplication"
    in console and exit.
    Mark LTO as broken and turn off by default.
    Upstream issue: https://github.com/mumble-voip/mumble/issues/6189
    
    PR:                     273078
    Approved by:            arrowd (mentor)
    Differential Revision:  https://reviews.freebsd.org/D41458
---
 audio/mumble/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/audio/mumble/Makefile b/audio/mumble/Makefile
index b1c6c2b168c4..e6692e1e70e4 100644
--- a/audio/mumble/Makefile
+++ b/audio/mumble/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mumble
 DISTVERSION=	1.5.517
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 
 MAINTAINER=	vvd@FreeBSD.org
@@ -55,7 +55,7 @@ CMAKE_OFF=	bundled-json bundle-qt-translations bundled-speex crash-report \
 		g15 server tracy update
 
 OPTIONS_DEFINE=		ALSA AVAHI DBUS JACK LTO PIPEWIRE PORTAUDIO PULSEAUDIO RNNOISE
-OPTIONS_DEFAULT=	DBUS LTO
+OPTIONS_DEFAULT=	DBUS
 OPTIONS_RADIO=		SPEECH
 OPTIONS_RADIO_SPEECH=	QTSPEECH SPEECHD
 
@@ -77,6 +77,8 @@ DBUS_CMAKE_BOOL=	dbus
 JACK_CMAKE_BOOL=	jackaudio
 JACK_LIB_DEPENDS=	libjack.so:audio/jack
 
+LTO_BROKEN=		"QWidget: Cannot create a QWidget without QApplication": \
+			https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273078
 LTO_CMAKE_BOOL=		lto
 
 PIPEWIRE_CMAKE_BOOL=	pipewire