svn commit: r552971 - head/net/dhcpd-pools
Piotr Kubaj
pkubaj at FreeBSD.org
Thu Oct 22 13:18:11 UTC 2020
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 \
More information about the svn-ports-all
mailing list