Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Aug 2024 05:25:29 GMT
From:      Santhosh Raju <fox@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: cb53289b53cc - 2024Q3 - graphics/dspdfviewer: Fix builds in 13.3 and 14.1.
Message-ID:  <202408110525.47B5PTIw040760@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q3 has been updated by fox:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cb53289b53cc2914c305d93eb2e75129fafea719

commit cb53289b53cc2914c305d93eb2e75129fafea719
Author:     Santhosh Raju <fox@FreeBSD.org>
AuthorDate: 2024-08-04 17:42:03 +0000
Commit:     Santhosh Raju <fox@FreeBSD.org>
CommitDate: 2024-08-11 05:25:08 +0000

    graphics/dspdfviewer: Fix builds in 13.3 and 14.1.
    
    (cherry picked from commit e56cb1f7a29ed63d9939da158b3e05298523ccda)
---
 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
 .endif
 



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