git: a140693353fb - main - audio/ocp: Fix build with clang16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jul 2023 06:57:37 UTC
The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=a140693353fb22f1d28becc5b5dfca9b6e61fb8e commit a140693353fb22f1d28becc5b5dfca9b6e61fb8e Author: Emanuel Haupt <ehaupt@FreeBSD.org> AuthorDate: 2023-07-04 06:57:32 +0000 Commit: Emanuel Haupt <ehaupt@FreeBSD.org> CommitDate: 2023-07-04 06:57:32 +0000 audio/ocp: Fix build with clang16 Notified by: pkg-fallout --- audio/ocp/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile index 993125cad06c..83b347e4c854 100644 --- a/audio/ocp/Makefile +++ b/audio/ocp/Makefile @@ -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