git: 1bbd2bd822b9 - main - editors/libreoffice: Fix build with Qt on i386

From: Felix Palmen <zirias_at_FreeBSD.org>
Date: Mon, 20 Feb 2023 17:06:57 UTC
The branch main has been updated by zirias:

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

commit 1bbd2bd822b9021436ba16db3bb16dce7d76929b
Author:     Felix Palmen <zirias@FreeBSD.org>
AuthorDate: 2023-02-20 07:24:56 +0000
Commit:     Felix Palmen <zirias@FreeBSD.org>
CommitDate: 2023-02-20 17:06:22 +0000

    editors/libreoffice: Fix build with Qt on i386
    
    Reintroduce -Wno-c++11-narrowing, builting with the Qt option on i386 is
    still broken otherwise.
    
    Approved by:            office (fluffy, maintainer), tcberner (mentor)
    Differential Revision:  https://reviews.freebsd.org/D38693
---
 editors/libreoffice/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index 1e0e7135bebf..108fbc9e5acf 100644
--- a/editors/libreoffice/Makefile
+++ b/editors/libreoffice/Makefile
@@ -358,7 +358,8 @@ LLD_UNSAFE=	yes
 .endif
 
 .if ${CHOSEN_COMPILER_TYPE} == clang
-CXXFLAGS_WARN=	-Woverloaded-virtual -Wno-unused-parameter -Wno-unused-local-typedefs
+CXXFLAGS_WARN=	-Woverloaded-virtual -Wno-c++11-narrowing \
+		-Wno-unused-parameter -Wno-unused-local-typedefs
 .else
 CXXFLAGS_WARN=	-Wshadow -Woverloaded-virtual
 .endif