Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2019 14:26:31 +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: r500496 - head/x11/lightdm-gtk-greeter
Message-ID:  <201904301426.x3UEQVZg077547@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Tue Apr 30 14:26:31 2019
New Revision: 500496
URL: https://svnweb.freebsd.org/changeset/ports/500496

Log:
  x11/lightdm-gtk-greeter: fix build with GCC-based architectures
  
  Add USE_CSTD=c99 to fix:
  lightdm-gtk-greeter.c: In function 'start_authentication':
  lightdm-gtk-greeter.c:2023: error: 'for' loop initial declaration used outside C99 mode
  
  PR:		237626
  Approved by:	woodsb02 (maintainer), mat (mentor)
  Differential Revision:	https://reviews.freebsd.org/D20094

Modified:
  head/x11/lightdm-gtk-greeter/Makefile

Modified: head/x11/lightdm-gtk-greeter/Makefile
==============================================================================
--- head/x11/lightdm-gtk-greeter/Makefile	Tue Apr 30 14:24:33 2019	(r500495)
+++ head/x11/lightdm-gtk-greeter/Makefile	Tue Apr 30 14:26:31 2019	(r500496)
@@ -15,6 +15,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	liblightdm-gobject-1.so:x11/lightdm
 
 USES=		gettext gmake gnome localbase pkgconfig xfce
+USE_CSTD=	c99
 USE_GNOME=	cairo gdkpixbuf2 gtk30 intltool
 USE_XFCE=	libexo
 USE_XORG=	x11



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