Page MenuHomeFreeBSD

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

Authored by pkubaj on Apr 29 2019, 9:05 AM.
Tags
None
Referenced Files
F153478626: D20094.diff
Tue, Apr 21, 9:39 AM
Unknown Object (File)
Sun, Apr 19, 10:45 AM
Unknown Object (File)
Sun, Apr 19, 10:44 AM
Unknown Object (File)
Sun, Apr 19, 12:31 AM
Unknown Object (File)
Sat, Apr 18, 10:14 PM
Unknown Object (File)
Sat, Apr 18, 10:13 PM
Unknown Object (File)
Wed, Apr 15, 7:57 PM
Unknown Object (File)
Wed, Apr 15, 6:20 AM
Subscribers
None

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
Lint Not Applicable
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.