Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 2020 16:18:31 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r559668 - head/net/arping
Message-ID:  <202012301618.0BUGIVKJ041841@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Dec 30 16:18:30 2020
New Revision: 559668
URL: https://svnweb.freebsd.org/changeset/ports/559668

Log:
  net/arping: fix build on GCC architectures
  
  arping.c: In function 'xrandom':
  arping.c:239: error: 'for' loop initial declaration used outside C99 mode

Modified:
  head/net/arping/Makefile

Modified: head/net/arping/Makefile
==============================================================================
--- head/net/arping/Makefile	Wed Dec 30 16:12:12 2020	(r559667)
+++ head/net/arping/Makefile	Wed Dec 30 16:18:30 2020	(r559668)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012301618.0BUGIVKJ041841>