git: 336f3a5bc342 - main - audio/mpdcon: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Jul 2023 20:45:43 UTC
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|' \