Date: Fri, 9 Jun 2023 16:55:11 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b9164f1a0d2d - main - net-mgmt/sendip: Fix build with llvm15 Message-ID: <202306091655.359GtBEf074167@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=b9164f1a0d2db2a9f871b5ca5da1d5e66a75b184 commit b9164f1a0d2db2a9f871b5ca5da1d5e66a75b184 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-09 13:41:01 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-09 16:55:03 +0000 net-mgmt/sendip: Fix build with llvm15 Approved by: portmgr (blanket) --- net-mgmt/sendip/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/net-mgmt/sendip/Makefile b/net-mgmt/sendip/Makefile index 067fce76b2cd..03e4088e07b7 100644 --- a/net-mgmt/sendip/Makefile +++ b/net-mgmt/sendip/Makefile @@ -22,6 +22,10 @@ USE_LDCONFIG= yes CFLAGS+= -Wno-empty-body -Wno-constant-conversion .endif +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sendip .for slib in ipv4.so ipv6.so icmp.so tcp.so udp.so rip.so ripng.so ntp.so \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306091655.359GtBEf074167>