diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-05 14:57:05 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-05 18:01:09 +0000 |
commit | a8fcfba441e25b628def3f84384a0438f4d91982 (patch) | |
tree | a53b95ff61bf0d7f807c410eca942d5a88dbe53d | |
parent | fa7be670b40b4ef9b1c0a51e9b159abda25f691b (diff) | |
download | ports-a8fcfba441e25b628def3f84384a0438f4d91982.tar.gz ports-a8fcfba441e25b628def3f84384a0438f4d91982.zip |
audio/xmcd: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | audio/xmcd/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
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 |