1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

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
This commit is contained in:
Piotr Kubaj 2019-04-30 14:26:31 +00:00
parent 191e257bcf
commit dde2cbdeb8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500496

View File

@ -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