svn commit: r552880 - head/graphics/jp2a

Piotr Kubaj pkubaj at FreeBSD.org
Wed Oct 21 18:49:59 UTC 2020


Author: pkubaj
Date: Wed Oct 21 18:49:58 2020
New Revision: 552880
URL: https://svnweb.freebsd.org/changeset/ports/552880

Log:
  graphics/jp2a: fix build on GCC architectures
  
  Use C99 mode:
  image.c:815: error: 'for' loop initial declaration used outside C99 mode

Modified:
  head/graphics/jp2a/Makefile

Modified: head/graphics/jp2a/Makefile
==============================================================================
--- head/graphics/jp2a/Makefile	Wed Oct 21 18:47:28 2020	(r552879)
+++ head/graphics/jp2a/Makefile	Wed Oct 21 18:49:58 2020	(r552880)
@@ -17,6 +17,7 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libpng16.so:graphics/png
 
 USES=		jpeg localbase ncurses pkgconfig tar:bz2
+USE_CSTD=	c99
 
 GNU_CONFIGURE=	yes
 


More information about the svn-ports-all mailing list