1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

audio/fluida-lv2: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-08-06 23:13:58 +02:00
parent 46e066a42e
commit 54faeb599e

View File

@ -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