1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

graphics/dspdfviewer: fix build failure for Clang 18.1.4.

This commit is contained in:
Santhosh Raju 2024-04-23 08:54:22 +02:00
parent 4653a5e28b
commit 039e487c77

View File

@ -66,6 +66,11 @@ CFLAGS+= -Wno-error=bitwise-instead-of-logical
CFLAGS+= -Wno-error=unsafe-buffer-usage
.endif
# Fixes build failure for Clang 18.1.4
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500018 && ${CHOSEN_COMPILER_TYPE} == clang
CFLAGS+= -Wno-error=switch-default
.endif
# Prepare for Qt5-5.15
CFLAGS+= -Wno-deprecated