svn commit: r500496 - head/x11/lightdm-gtk-greeter
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Apr 30 14:26:32 UTC 2019
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
More information about the svn-ports-head
mailing list