git: 7aeb6966fa55 - main - audio/fluidplug-lv2: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Aug 2023 15:25:23 UTC
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| ; \