1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

audio/lv2proc: Fix build with llvm15

Approved by:	portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2023-06-13 00:55:24 +02:00
parent 990dfe7c60
commit c7310466d2

View File

@ -23,4 +23,10 @@ GNU_CONFIGURE= yes
PLIST_FILES= bin/lv2proc \
man/man1/lv2proc.1.gz
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=strict-prototypes
.endif
.include <bsd.port.mk>