Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2023 07:53:07 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: a4ca547fd445 - main - graphics/dspdfviewer: Unbreak build for Release 12.4 (1204000) and above.
Message-ID:  <202303220753.32M7r7s0070331@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=a4ca547fd445e992a2f4599e60b651f754546b76

commit a4ca547fd445e992a2f4599e60b651f754546b76
Author:     Santhosh Raju <fox@FreeBSD.org>
AuthorDate: 2023-03-22 07:50:06 +0000
Commit:     Santhosh Raju <fox@FreeBSD.org>
CommitDate: 2023-03-22 07:50:06 +0000

    graphics/dspdfviewer: Unbreak build for Release 12.4 (1204000) and above.
---
 graphics/dspdfviewer/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/dspdfviewer/Makefile b/graphics/dspdfviewer/Makefile
index 6da1d50e5e97..bbc3fd86c8ae 100644
--- a/graphics/dspdfviewer/Makefile
+++ b/graphics/dspdfviewer/Makefile
@@ -51,7 +51,7 @@ CFLAGS+=	-Wno-error=extra-semi-stmt
 .endif
 
 # Fixes build failure for Clang 11.0.0
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300111 && ${CHOSEN_COMPILER_TYPE} == clang
+.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1300111 || ${OSVERSION} >= 1204000) && ${CHOSEN_COMPILER_TYPE} == clang
 CFLAGS+=	-Wno-error=suggest-destructor-override
 CFLAGS+=	-Wno-error=suggest-override
 .endif



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