Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2023 18:01:26 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a8fcfba441e2 - main - audio/xmcd: Fix build with llvm16
Message-ID:  <202308051801.375I1Qaa089980@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308051801.375I1Qaa089980>