openbsd-ports/devel/glib2/patches/patch-glib_gmain_c

14 lines
413 B
Plaintext

$OpenBSD: patch-glib_gmain_c,v 1.2 2011/05/24 09:10:23 ajacoutot Exp $
--- glib/gmain.c.orig Sat May 21 05:29:24 2011
+++ glib/gmain.c Tue May 24 10:50:15 2011
@@ -2054,7 +2054,9 @@ g_get_monotonic_time (void)
if G_UNLIKELY (!checked)
{
+#ifndef __OpenBSD__
if (sysconf (_SC_MONOTONIC_CLOCK) >= 0)
+#endif
clockid = CLOCK_MONOTONIC;
checked = TRUE;
}