Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2023 17:06:57 GMT
From:      Felix Palmen <zirias@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1bbd2bd822b9 - main - editors/libreoffice: Fix build with Qt on i386
Message-ID:  <202302201706.31KH6vM4022596@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302201706.31KH6vM4022596>