Date: Wed, 19 Jul 2023 20:45:43 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: 336f3a5bc342 - main - audio/mpdcon: Fix build with llvm16 Message-ID: <202307192045.36JKjhZc049123@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=336f3a5bc3426259311a17122ba6548714a28686 commit 336f3a5bc3426259311a17122ba6548714a28686 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-19 20:13:31 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-19 20:45:28 +0000 audio/mpdcon: Fix build with llvm16 - Adopt port Sponsored by: The FreeBSD Foundation --- audio/mpdcon/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/audio/mpdcon/Makefile b/audio/mpdcon/Makefile index 2853c86e017b..e332a72c109b 100644 --- a/audio/mpdcon/Makefile +++ b/audio/mpdcon/Makefile @@ -5,7 +5,7 @@ CATEGORIES= audio gnustep MASTER_SITES= SAVANNAH/gap DISTNAME= MPDCon-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= MPD client for GNUstep WWW= https://gap.nongnu.org/mpdcon/ @@ -18,6 +18,12 @@ LIB_DEPENDS= libmpdclient.so.2:audio/libmpdclient \ USES= gnustep USE_GNUSTEP= base gui back build +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: ${REINPLACE_CMD} -e \ 's|^GNUSTEP_INSTALLATION_DIR|#GNUSTEP_INSTALLATION_DIR|' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307192045.36JKjhZc049123>