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
Unknown Object (File)
Mon, Jun 30, 4:18 PM
Unknown Object (File)
Sat, Jun 21, 2:39 AM
Unknown Object (File)
Fri, Jun 20, 10:23 PM
Unknown Object (File)
Fri, Jun 20, 5:42 PM
Unknown Object (File)
Thu, Jun 19, 3:02 PM
Unknown Object (File)
Jun 17 2025, 11:03 AM
Unknown Object (File)
Mar 30 2025, 4:02 PM
Unknown Object (File)
Feb 28 2025, 8:56 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.