From c7310466d2a98963e0ac53f50d5a87b5dcac7bfe Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Tue, 13 Jun 2023 00:55:24 +0200 Subject: [PATCH] audio/lv2proc: Fix build with llvm15 Approved by: portmgr (blanket) --- audio/lv2proc/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/audio/lv2proc/Makefile b/audio/lv2proc/Makefile index 6e1f923786f9..b74cffd06a2b 100644 --- a/audio/lv2proc/Makefile +++ b/audio/lv2proc/Makefile @@ -23,4 +23,10 @@ GNU_CONFIGURE= yes PLIST_FILES= bin/lv2proc \ man/man1/lv2proc.1.gz +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=strict-prototypes +.endif + .include