svn commit: r561405 - head/ftp/wget

Piotr Kubaj pkubaj at FreeBSD.org
Wed Jan 13 00:29:41 UTC 2021


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


More information about the svn-ports-all mailing list