git: a8fcfba441e2 - main - audio/xmcd: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Aug 2023 18:01:26 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=a8fcfba441e25b628def3f84384a0438f4d91982 commit a8fcfba441e25b628def3f84384a0438f4d91982 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-05 14:57:05 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-05 18:01:09 +0000 audio/xmcd: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- audio/xmcd/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/audio/xmcd/Makefile b/audio/xmcd/Makefile index 94536b62ae0f..8509895e9c19 100644 --- a/audio/xmcd/Makefile +++ b/audio/xmcd/Makefile @@ -25,6 +25,12 @@ CONFLICTS_INSTALL= py*-cclib # bin/cda LIBBINDIR= ${STAGEDIR}${PREFIX}/lib/X11/xmcd/bin-${OPSYS}_${OSREL:R:R}-${ARCH:S/aarch64/arm64/:C/armv.*/arm/:C/powerpc64.*/powerpc/:C/riscv64.*/riscv/} +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + pre-patch: @${CP} ${WRKSRC}/xmcd_d/XMcd.ad ${WRKSRC}/xmcd_d/XMcd.ad.in