openbsd-ports/devel/glib2/patches/patch-glib_gmain_c
ajacoutot 3be8bdfc2e Bugfix update to glib2-2.28.8.
Remove patches applied upstream.
2011-06-06 06:22:19 +00:00

14 lines
413 B
Plaintext

$OpenBSD: patch-glib_gmain_c,v 1.3 2011/06/06 06:22:19 ajacoutot Exp $
--- glib/gmain.c.orig Mon Jun 6 01:18:49 2011
+++ glib/gmain.c Mon Jun 6 08:01:27 2011
@@ -2055,7 +2055,9 @@ g_get_monotonic_time (void)
if G_UNLIKELY (!checked)
{
+#ifndef __OpenBSD__
if (sysconf (_SC_MONOTONIC_CLOCK) >= 0)
+#endif
clockid = CLOCK_MONOTONIC;
checked = TRUE;
}