git: 23e286433f8f - main - net/ipsvd: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 24 Jul 2023 14:46:18 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=23e286433f8f1ea40203aaf4a73c2546225ee77a

commit 23e286433f8f1ea40203aaf4a73c2546225ee77a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-24 14:43:44 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-24 14:46:03 +0000

    net/ipsvd: Fix build with llvm16
    
    - Pet portclippy
    
    Sponsored by:   The FreeBSD Foundation
---
 net/ipsvd/Makefile | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/net/ipsvd/Makefile b/net/ipsvd/Makefile
index 3e67eb66bc5a..e63fdaa6cfa9 100644
--- a/net/ipsvd/Makefile
+++ b/net/ipsvd/Makefile
@@ -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