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 360296 - Thinko breaks gtimer.c build on SunOS 5.9 (patch)
Thinko breaks gtimer.c build on SunOS 5.9 (patch)
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
2.12.x
Other Solaris
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2006-10-07 00:17 UTC by Peter Williams
Modified: 2006-10-08 05:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix problem (624 bytes, patch)
2006-10-07 00:19 UTC, Peter Williams
none Details | Review

Description Peter Williams 2006-10-07 00:17:28 UTC
On my SunOS 5.9 machine, building GLib fails in gtimer.c. The problem is that on this machine, HAVE_CLOCK_GETTIME is defined but HAVE_MONOTONIC_CLOCK isn't, and there is a preprocessor directive "#elif HAVE_CLOCK_GETTIME" when it should be "#elif USE_CLOCK_GETTIME". (The latter is a macro defined in the file.

Simple patch to fix is attached. I can commit to CVS if it's OK.
Comment 1 Peter Williams 2006-10-07 00:19:15 UTC
Created attachment 74188 [details] [review]
Patch to fix problem

Fixes the problem. BTW, probably SunOS 5.9 = Solaris X.Y but I don't know anything about Solaris.
Comment 2 Matthias Clasen 2006-10-08 05:13:05 UTC
Already fixed in cvs