HomeFreeBSD

editors/libreoffice: Fix build with QT5 on i386

Description

editors/libreoffice: Fix build with QT5 on i386

Fix these errors by adding -Wno-c++11-narrowing:

/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/vcl/unx/generic/window/salframe.cxx:650:39:
error: non-constant-expression cannot be narrowed from type 'unsigned
int' to 'tools::Long' (aka 'long') in initializer list
[-Wc++11-narrowing]
    maGeometry.setPosSize({ x, y }, { w, h });
                                        ^

Approved by: office (fluffy), tcberner (mentor)

Details

Provenance
ziriasAuthored on Sep 5 2022, 12:41 PM
Parents
R11:0dee612caeb2: games/DDNet: update 16.3.1 → 16.3.2
Branches
Unknown
Tags
Unknown