Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jun 2022 20:44:18 GMT
From:      Santhosh Raju <fox@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ff2fcc7fe368 - main - graphics/dspdfviewer: Fix build on HEAD >= 1400059.
Message-ID:  <202206052044.255KiIl7040653@gitrepo.freebsd.org>

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



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