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)
Sep 20 2025, 12:40 AM
Unknown Object (File)
Sep 19 2025, 2:16 AM
Unknown Object (File)
Sep 18 2025, 4:19 PM
Unknown Object (File)
Sep 17 2025, 8:26 AM
Unknown Object (File)
Sep 14 2025, 1:19 AM
Unknown Object (File)
Aug 30 2025, 7:27 AM
Unknown Object (File)
Jun 30 2025, 4:18 PM
Unknown Object (File)
Jun 21 2025, 2:39 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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 23967
Build 22875: arc lint + arc unit

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.