Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2023 21:53:14 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: 54faeb599e98 - main - audio/fluida-lv2: Fix build with llvm16
Message-ID:  <202308062153.376LrEAb075636@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=54faeb599e982173d7e04424e56cd2bf8919063c

commit 54faeb599e982173d7e04424e56cd2bf8919063c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-06 21:13:58 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-06 21:53:04 +0000

    audio/fluida-lv2: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 audio/fluida-lv2/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/audio/fluida-lv2/Makefile b/audio/fluida-lv2/Makefile
index b9518ac51eb4..2a9cb235ff2a 100644
--- a/audio/fluida-lv2/Makefile
+++ b/audio/fluida-lv2/Makefile
@@ -31,6 +31,12 @@ PLIST_FILES=	lib/lv2/Fluida.lv2/Fluida.so \
 		lib/lv2/Fluida.lv2/Fluida_ui.so \
 		lib/lv2/Fluida.lv2/manifest.ttl
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-patch: # /proc/cpuinfo is used to check SIMD support in CPU
 	@${REINPLACE_CMD} -e 's|/proc/cpuinfo|/dev/null|' ${WRKSRC}/Fluida/Makefile
 



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