Skip to content

Commit

Permalink
audio/mpdcon: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Adopt port

Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 19, 2023
1 parent a2176e0 commit 336f3a5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion audio/mpdcon/Makefile
Expand Up @@ -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/

Expand All @@ -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|' \
Expand Down

0 comments on commit 336f3a5

Please sign in to comment.