Add USE_CSTD=c99 to fix build on GCC-based systems:

main.c:58: error: 'for' loop initial declaration used outside C99 mode

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2021-03-17 11:28:59 +00:00
parent fa7f08b96c
commit 3767954d19
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=568644
2 changed files with 4 additions and 2 deletions

View file

@ -9,9 +9,12 @@ DISTFILES= 365e99400a8a13546c4c060f28e23bf81d68d45e.tar.gz
MAINTAINER= nc@FreeBSD.org
COMMENT= Simplistic and secure Gemini server
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_CSTD= c99
WRKSRC= ${WRKDIR}/${PORTNAME}
do-install:
@ -22,4 +25,3 @@ post-install:
@${MKDIR} ${STAGEDIR}${ETCDIR}/gemini
.include <bsd.port.mk>

View file

@ -5,4 +5,4 @@ Vger design is relying on inetd and a daemon to take care of TLS. The idea is
to delegate TLS and network to daemons which proved doing it correctly, so vger
takes its request from stdin and output the result to stdout.
https://tildegit.org/solene/vger
WWW: https://tildegit.org/solene/vger