net/ipsvd: Fix build with llvm16

- Pet portclippy

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-07-24 16:43:44 +02:00
parent d5443d2a71
commit 23e286433f

View file

@ -11,21 +11,28 @@ WWW= http://smarden.org/ipsvd/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/package/COPYING
DEPRECATED= bogus assumption of system type widths, likely crash-prone
EXPIRATION_DATE=2023-12-31
BROKEN_armv6= fails to install: Checking udpsvd... drop: unable to read from socket: bad address
BROKEN_armv7= fails to install: Checking udpsvd... drop: unable to read from socket: bad address
BROKEN_mips64= fails to install: tcpsvd failed
BROKEN_riscv64= fails to install: Checking udpsvd... drop: unable to read from socket: bad address
WRKSRC= ${WRKDIR}/net/${DISTNAME}
USE_CSTD= c89
ALL_TARGET= default
DEPRECATED= bogus assumption of system type widths, likely crash-prone
EXPIRATION_DATE=2023-12-31
WRKSRC= ${WRKDIR}/net/${DISTNAME}
DOCS= package/CHANGES package/COPYING package/README doc/*.html
OPTIONS_DEFINE= DOCS
USE_CSTD= c89
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
do-configure:
@${ECHO_CMD} "${CC} ${CFLAGS} -include unistd.h" > ${WRKSRC}/src/conf-cc