Skip to content

Commit

Permalink
net-mgmt/sendip: Fix build with llvm15
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
5u623l20 committed Jun 9, 2023
1 parent a6b2db1 commit b9164f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions net-mgmt/sendip/Makefile
Expand Up @@ -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 \
Expand Down

0 comments on commit b9164f1

Please sign in to comment.