Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2020 13:18:11 +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: r552971 - head/net/dhcpd-pools
Message-ID:  <202010221318.09MDIBtM081308@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Thu Oct 22 13:18:10 2020
New Revision: 552971
URL: https://svnweb.freebsd.org/changeset/ports/552971

Log:
  net/dhcpd-pools: fix build on GCC architectures
  
  Use C99 mode:
  nstrftime.c:1143: error: 'for' loop initial declaration used outside C99 mode
  
  MFH:		2020Q4 (fix build blanket)

Modified:
  head/net/dhcpd-pools/Makefile

Modified: head/net/dhcpd-pools/Makefile
==============================================================================
--- head/net/dhcpd-pools/Makefile	Thu Oct 22 13:06:45 2020	(r552970)
+++ head/net/dhcpd-pools/Makefile	Thu Oct 22 13:18:10 2020	(r552971)
@@ -16,6 +16,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 BUILD_DEPENDS=	${LOCALBASE}/include/uthash.h:devel/uthash
 
 USES=		charsetfix shebangfix tar:xz
+USE_CSTD=	c99
 SHEBANG_FILES=	contrib/snmptest.pl
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-dhcpd-conf=${LOCALBASE}/etc/dhcpd.conf \



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