Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 2021 00:29:41 +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: r561405 - head/ftp/wget
Message-ID:  <202101130029.10D0TfIS013815@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Jan 13 00:29:40 2021
New Revision: 561405
URL: https://svnweb.freebsd.org/changeset/ports/561405

Log:
  ftp/wget: fix build on GCC architectures
  
  tempname.c: In function 'try_tempname_len':
  tempname.c:288: error: 'for' loop initial declaration used outside C99 mode

Modified:
  head/ftp/wget/Makefile

Modified: head/ftp/wget/Makefile
==============================================================================
--- head/ftp/wget/Makefile	Wed Jan 13 00:12:29 2021	(r561404)
+++ head/ftp/wget/Makefile	Wed Jan 13 00:29:40 2021	(r561405)
@@ -16,6 +16,7 @@ TEST_DEPENDS=	p5-HTTP-Daemon>=0:www/p5-HTTP-Daemon \
 		p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL
 
 USES=		charsetfix cpe iconv localbase pkgconfig tar:lz
+USE_CSTD=	c99
 CPE_VENDOR=	gnu
 GNU_CONFIGURE=	yes
 OPTIONS_SUB=	yes



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