aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-07 14:56:24 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-07 15:24:45 +0000
commit7aeb6966fa55b42a5f1d4d77ddc1c4993c4bf288 (patch)
tree7ea7c22f1bda25f18db3825dd278e872ea6af8dd
parenta07283aae1c15d460641ec311f4e5a3c6c122151 (diff)
downloadports-7aeb6966fa55b42a5f1d4d77ddc1c4993c4bf288.tar.gz
ports-7aeb6966fa55b42a5f1d4d77ddc1c4993c4bf288.zip
audio/fluidplug-lv2: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
-rw-r--r--audio/fluidplug-lv2/Makefile6
1 files changed, 6 insertions, 0 deletions
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| ; \