Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2020 18:49:58 +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: r552880 - head/graphics/jp2a
Message-ID:  <202010211849.09LInwLY080673@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



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