git: ff2fcc7fe368 - main - graphics/dspdfviewer: Fix build on HEAD >= 1400059.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Jun 2022 20:44:18 UTC
The branch main has been updated by fox: URL: https://cgit.FreeBSD.org/ports/commit/?id=ff2fcc7fe36865e2739388a6e2261b382f70a780 commit ff2fcc7fe36865e2739388a6e2261b382f70a780 Author: Santhosh Raju <fox@FreeBSD.org> AuthorDate: 2022-06-05 20:09:09 +0000 Commit: Santhosh Raju <fox@FreeBSD.org> CommitDate: 2022-06-05 20:43:36 +0000 graphics/dspdfviewer: Fix build on HEAD >= 1400059. --- graphics/dspdfviewer/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/graphics/dspdfviewer/Makefile b/graphics/dspdfviewer/Makefile index 90998cff7815..8bd12a1d671e 100644 --- a/graphics/dspdfviewer/Makefile +++ b/graphics/dspdfviewer/Makefile @@ -55,6 +55,11 @@ CFLAGS+= -Wno-error=suggest-destructor-override CFLAGS+= -Wno-error=suggest-override .endif +# Fixes build failure for Clang 14.0.3 +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400059 && ${CHOSEN_COMPILER_TYPE} == clang +CFLAGS+= -Wno-error=bitwise-instead-of-logical +.endif + # Prepare for Qt5-5.15 CFLAGS+= -Wno-deprecated