From 3b8aed2af18af7acf3545f6c9a437f718d9ac9d3 Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Sat, 5 Sep 2020 20:20:57 +0000 Subject: [PATCH] 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) --- textproc/p5-PDF-API2-XS/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/textproc/p5-PDF-API2-XS/Makefile b/textproc/p5-PDF-API2-XS/Makefile index 52b5184f33fc..a3d6808eb733 100644 --- a/textproc/p5-PDF-API2-XS/Makefile +++ b/textproc/p5-PDF-API2-XS/Makefile @@ -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: