After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 336368 - Build broken with gcc 2.95
Build broken with gcc 2.95
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
2.14.x
Other NetBSD
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-28 16:18 UTC by Julio Merino
Modified: 2006-03-28 23:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch. (1.58 KB, patch)
2006-03-28 16:19 UTC, Julio Merino
none Details | Review

Description Julio Merino 2006-03-28 16:18:02 UTC
The daemon/xdmcp.c file defines a variable (ipv4_addr) in the middle of a code block, which is forbidden by pre-C99 compilers.  As a result, the build breaks when using, e.g. gcc 2.95 which comes with NetBSD 1.6.

The fix is trivial: define the variable at the beginning of the code block.
Comment 1 Julio Merino 2006-03-28 16:19:28 UTC
Created attachment 62223 [details] [review]
Proposed patch.
Comment 2 Brian Cameron 2006-03-28 23:45:37 UTC
Thanks, fixed in CVS head.