svn commit: r547675 - head/textproc/p5-PDF-API2-XS

Mark Linimon linimon at FreeBSD.org
Sat Sep 5 20:20:58 UTC 2020


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:


More information about the svn-ports-all mailing list