Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2020 20:24:10 +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: r526317 - head/games/xcowsay
Message-ID:  <202002162024.01GKOAQ8096307@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sun Feb 16 20:24:10 2020
New Revision: 526317
URL: https://svnweb.freebsd.org/changeset/ports/526317

Log:
  games/xcowsay: fix build on GCC architectures
  
  Use C99 instead of the default C89:
  bubblegen.c:186: error: 'for' loop initial declaration used outside C99 mode

Modified:
  head/games/xcowsay/Makefile

Modified: head/games/xcowsay/Makefile
==============================================================================
--- head/games/xcowsay/Makefile	Sun Feb 16 20:12:49 2020	(r526316)
+++ head/games/xcowsay/Makefile	Sun Feb 16 20:24:10 2020	(r526317)
@@ -17,6 +17,7 @@ LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2
 
 USES=		gettext gmake gnome pkgconfig
+USE_CSTD=	c99
 USE_GNOME=	cairo gdkpixbuf2 gtk30
 GNU_CONFIGURE=	yes
 



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