Page MenuHomeFreeBSD

x11/lightdm-gtk-greeter: fix build with GCC-based architectures
ClosedPublic

Authored by pkubaj on Apr 29 2019, 9:05 AM.

Details

Summary

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

Happens when building with base GCC.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237626

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Apr 30 2019, 2:21 PM
This revision was automatically updated to reflect the committed changes.