Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Sep 2020 20:20:58 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547675 - head/textproc/p5-PDF-API2-XS
Message-ID:  <202009052020.085KKwMr060271@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Sat Sep  5 20:20:57 2020
New Revision: 547675
URL: https://svnweb.freebsd.org/changeset/ports/547675

Log:
  Add USE_CSTD=c99 to fix build on GCC-based systems:
  
    lib/PDF/API2/XS/ImagePNG.xs:38: error: 'for' loop initial declaration used outside C99 mode
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/textproc/p5-PDF-API2-XS/Makefile

Modified: head/textproc/p5-PDF-API2-XS/Makefile
==============================================================================
--- head/textproc/p5-PDF-API2-XS/Makefile	Sat Sep  5 20:09:32 2020	(r547674)
+++ head/textproc/p5-PDF-API2-XS/Makefile	Sat Sep  5 20:20:57 2020	(r547675)
@@ -16,6 +16,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 TEST_DEPENDS=	p5-PDF-API2>=0:textproc/p5-PDF-API2
 
 USES=		gmake perl5
+USE_CSTD=	c99
 USE_PERL5=	configure
 
 post-install:



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