aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-19 20:13:31 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-19 20:45:28 +0000
commit336f3a5bc3426259311a17122ba6548714a28686 (patch)
tree607e7a25265c105b2ec1457aa61bd2b1e84889d8
parenta2176e0a69c7b0490e18d9b2e267f5565fddcdf1 (diff)
downloadports-336f3a5bc3426259311a17122ba6548714a28686.tar.gz
ports-336f3a5bc3426259311a17122ba6548714a28686.zip
audio/mpdcon: Fix build with llvm16
- Adopt port Sponsored by: The FreeBSD Foundation
-rw-r--r--audio/mpdcon/Makefile8
1 files changed, 7 insertions, 1 deletions
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|' \