=== modified file 'glib/gmain.c'
--- glib/gmain.c	2012-04-05 20:30:45 +0000
+++ glib/gmain.c	2012-04-05 20:58:05 +0000
@@ -2026,7 +2026,11 @@ g_get_monotonic_time (void)
   /* librt clock_gettime() is our first choice */
   struct timespec ts;
 
-#ifdef CLOCK_MONOTONIC
+#if defined (HAVE_PTHREAD_CONDATTR_SETCLOCK) && defined (CLOCK_MONOTONIC)
+  /* Don't use CLOCK_MONOTONIC unless pthread_condattr_setclock() is
+   * present. For details see:
+   * https://bugzilla.gnome.org/show_bug.cgi?id=673607
+   */
   clock_gettime (CLOCK_MONOTONIC, &ts);
 #else
   clock_gettime (CLOCK_REALTIME, &ts);

