1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

audio/ocp: Fix build with clang16

Notified by:	pkg-fallout
This commit is contained in:
Emanuel Haupt 2023-07-04 08:57:32 +02:00
parent 4c8bd4b56c
commit a140693353

View File

@ -88,6 +88,12 @@ X11_PLIST_SUB_OFF= DESKTOP='@comment ' \
TIMIDITY_CFG= ${LOCALBASE}/share/timidity/timidity.cfg
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ocp
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocp/*.so