1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

net-p2p/shx: Fix build with llvm16

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-06-24 12:26:27 +02:00
parent 305e27d107
commit 2d9edc4270

View File

@ -59,6 +59,10 @@ XMMS_CONFIGURE_ENABLE= xmms
CFLAGS+= -Wno-error=int-conversion
.endif
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
do-install:
${CP} -fv ${WRKSRC}/run/hx ${STAGEDIR}${PREFIX}/bin/
${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/${PORTNAME}