svn commit: r548260 - head/graphics/glx-utils

Mark Linimon linimon at FreeBSD.org
Fri Sep 11 20:14:13 UTC 2020


Author: linimon
Date: Fri Sep 11 20:14:12 2020
New Revision: 548260
URL: https://svnweb.freebsd.org/changeset/ports/548260

Log:
  Add USE_CSTD=c99 to fix build on GCC-based systems:
  
    glxgears.c:412: error: 'for' loop initial declaration used outside C99 mode
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/graphics/glx-utils/Makefile

Modified: head/graphics/glx-utils/Makefile
==============================================================================
--- head/graphics/glx-utils/Makefile	Fri Sep 11 20:13:57 2020	(r548259)
+++ head/graphics/glx-utils/Makefile	Fri Sep 11 20:14:12 2020	(r548260)
@@ -13,6 +13,7 @@ LICENSE=	MIT
 CONFLICTS_INSTALL=	mesa-demos
 
 USES=		gl localbase:ldflags xorg
+USE_CSTD=	c99
 USE_GITLAB=	yes
 USE_GL=		gl
 USE_XORG=	x11


More information about the svn-ports-head mailing list