audio/fluida-lv2: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
46e066a42e
commit
54faeb599e
@ -31,6 +31,12 @@ PLIST_FILES= lib/lv2/Fluida.lv2/Fluida.so \
|
|||||||
lib/lv2/Fluida.lv2/Fluida_ui.so \
|
lib/lv2/Fluida.lv2/Fluida_ui.so \
|
||||||
lib/lv2/Fluida.lv2/manifest.ttl
|
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
|
post-patch: # /proc/cpuinfo is used to check SIMD support in CPU
|
||||||
@${REINPLACE_CMD} -e 's|/proc/cpuinfo|/dev/null|' ${WRKSRC}/Fluida/Makefile
|
@${REINPLACE_CMD} -e 's|/proc/cpuinfo|/dev/null|' ${WRKSRC}/Fluida/Makefile
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user