Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2019 17:58:35 +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: r500601 - head/textproc/p5-Text-BibTeX
Message-ID:  <201905011758.x41HwZgj050117@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed May  1 17:58:35 2019
New Revision: 500601
URL: https://svnweb.freebsd.org/changeset/ports/500601

Log:
  textproc/p5-Text-BibTeX: fix build with GCC-based architectures
  
  btparse/tests/namebug.c:193: error: 'for' loop initial declaration used outside C99 mode on GCC architectures.
  
  Set USE_CSTD=c99 to fix build.
  
  PR:		237254
  Approved by:	perl (maintainer timeout), mat (mentor)
  Differential Revision:	https://reviews.freebsd.org/D20114

Modified:
  head/textproc/p5-Text-BibTeX/Makefile

Modified: head/textproc/p5-Text-BibTeX/Makefile
==============================================================================
--- head/textproc/p5-Text-BibTeX/Makefile	Wed May  1 17:56:57 2019	(r500600)
+++ head/textproc/p5-Text-BibTeX/Makefile	Wed May  1 17:58:35 2019	(r500601)
@@ -18,6 +18,7 @@ BUILD_DEPENDS=	p5-Config-AutoConf>=0.16:devel/p5-Confi
 TEST_DEPENDS=	p5-Capture-Tiny>=0.06:devel/p5-Capture-Tiny
 
 USES=		perl5
+USE_CSTD=	c99
 USE_PERL5=	modbuild
 
 CFLAGS_amd64=	-fPIC



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