Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2023 15:25:23 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: 7aeb6966fa55 - main - audio/fluidplug-lv2: Fix build with llvm16
Message-ID:  <202308071525.377FPNfV026867@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=7aeb6966fa55b42a5f1d4d77ddc1c4993c4bf288

commit 7aeb6966fa55b42a5f1d4d77ddc1c4993c4bf288
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-07 14:56:24 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-07 15:24:45 +0000

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

diff --git a/audio/fluidplug-lv2/Makefile b/audio/fluidplug-lv2/Makefile
index 2a71a4f8ac93..8dc9cfc00367 100644
--- a/audio/fluidplug-lv2/Makefile
+++ b/audio/fluidplug-lv2/Makefile
@@ -26,6 +26,12 @@ OPTIONS_DEFINE_i386=	SSE
 
 SSE_MAKE_ARGS=	PORT_SIMD_FLAGS="-mtune=generic -msse -msse2 -mfpmath=sse"
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e ' \
 		s|PREFIX  = /usr|PREFIX ?= /usr| ; \



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