diff options
Diffstat (limited to 'devel/pkg-config/patches/patch-glib_glib_gtimer.c')
-rw-r--r-- | devel/pkg-config/patches/patch-glib_glib_gtimer.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/pkg-config/patches/patch-glib_glib_gtimer.c b/devel/pkg-config/patches/patch-glib_glib_gtimer.c new file mode 100644 index 00000000000..ff7669804ac --- /dev/null +++ b/devel/pkg-config/patches/patch-glib_glib_gtimer.c @@ -0,0 +1,13 @@ +$NetBSD: patch-glib_glib_gtimer.c,v 1.1 2014/07/18 19:50:47 ryoon Exp $ + +--- glib/glib/gtimer.c.orig 2012-10-02 05:49:07.000000000 +0000 ++++ glib/glib/gtimer.c +@@ -252,6 +252,8 @@ g_usleep (gulong microseconds) + { + #ifdef G_OS_WIN32 + Sleep (microseconds / 1000); ++#elif defined(_SCO_DS) ++ usleep(microseconds); + #else + struct timespec request, remaining; + request.tv_sec = microseconds / G_USEC_PER_SEC; |