GNOME Bugzilla – Bug 336368
Build broken with gcc 2.95
Last modified: 2006-03-28 23:45:37 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.
Created attachment 62223 [details] [review] Proposed patch.
Thanks, fixed in CVS head.