Date: Sun, 4 Aug 2024 20:51:37 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: e56cb1f7a29e - main - graphics/dspdfviewer: Fix builds in 13.3 and 14.1. Message-ID: <202408042051.474Kpb90019949@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by fox: URL: https://cgit.FreeBSD.org/ports/commit/?id=e56cb1f7a29ed63d9939da158b3e05298523ccda commit e56cb1f7a29ed63d9939da158b3e05298523ccda Author: Santhosh Raju <fox@FreeBSD.org> AuthorDate: 2024-08-04 17:42:03 +0000 Commit: Santhosh Raju <fox@FreeBSD.org> CommitDate: 2024-08-04 20:35:54 +0000 graphics/dspdfviewer: Fix builds in 13.3 and 14.1. --- graphics/dspdfviewer/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphics/dspdfviewer/Makefile b/graphics/dspdfviewer/Makefile index 2fae98627929..1386d1fdcce0 100644 --- a/graphics/dspdfviewer/Makefile +++ b/graphics/dspdfviewer/Makefile @@ -62,12 +62,12 @@ CFLAGS+= -Wno-error=bitwise-instead-of-logical .endif # Fixes build failure for Clang 16.0.6 -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400059 && ${CHOSEN_COMPILER_TYPE} == clang +.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) && ${CHOSEN_COMPILER_TYPE} == clang CFLAGS+= -Wno-error=unsafe-buffer-usage .endif # Fixes build failure for Clang 18.1.4 -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500018 && ${CHOSEN_COMPILER_TYPE} == clang +.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1401000 || ${OSVERSION} >= 1500018) && ${CHOSEN_COMPILER_TYPE} == clang CFLAGS+= -Wno-error=switch-default .endifhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408042051.474Kpb90019949>
