aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-12-30 16:18:30 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-12-30 16:18:30 +0000
commit8240e9b2ac5bf2793d8a270dc5896fa9f99ea5b8 (patch)
tree4351aed42a6f4db12e9de77624c21aafec84b68f /net
parent79939d1220a4caa573609bfe808ecff66e28242e (diff)
downloadports-8240e9b2ac5bf2793d8a270dc5896fa9f99ea5b8.tar.gz
ports-8240e9b2ac5bf2793d8a270dc5896fa9f99ea5b8.zip
net/arping: fix build on GCC architectures
arping.c: In function 'xrandom': arping.c:239: error: 'for' loop initial declaration used outside C99 mode
Notes
Notes: svn path=/head/; revision=559668
Diffstat (limited to 'net')
-rw-r--r--net/arping/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/arping/Makefile b/net/arping/Makefile
index 5041c0af2714..5cbdb918fa8b 100644
--- a/net/arping/Makefile
+++ b/net/arping/Makefile
@@ -15,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libnet.so:net/libnet
USES= localbase
+USE_CSTD= c99
GNU_CONFIGURE= yes
PLIST_FILES= sbin/arping man/man8/arping.8.gz