Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2023 22:58:51 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c7310466d2a9 - main - audio/lv2proc: Fix build with llvm15
Message-ID:  <202306122258.35CMwpiX087363@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit c7310466d2a98963e0ac53f50d5a87b5dcac7bfe
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-12 22:55:24 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-12 22:58:37 +0000

    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 <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=strict-prototypes
+.endif
+
 .include <bsd.port.mk>



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