Date: Tue, 4 Jul 2023 06:57:37 GMT From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a140693353fb - main - audio/ocp: Fix build with clang16 Message-ID: <202307040657.3646vbYH072675@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307040657.3646vbYH072675>