View | Details | Raw Unified | Return to bug 252816
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME?=	xorg-server
4
PORTNAME?=	xorg-server
5
PORTVERSION?=	1.20.9
5
PORTVERSION?=	1.20.9
6
PORTREVISION?=	1
6
PORTREVISION?=	2
7
PORTEPOCH?=	1
7
PORTEPOCH?=	1
8
CATEGORIES=	x11-servers
8
CATEGORIES=	x11-servers
9
MASTER_SITES=	XORG/individual/xserver
9
MASTER_SITES=	XORG/individual/xserver
(-)files/patch-os_utils.c (+18 lines)
Line 0 Link Here
1
--- os/utils.c.orig	2014-04-15 01:01:57 UTC
2
+++ os/utils.c
3
@@ -443,11 +443,11 @@ GetTimeInMillis(void)
4
     static clockid_t clockid;
5
 
6
     if (!clockid) {
7
-#ifdef CLOCK_MONOTONIC_COARSE
8
-        if (clock_getres(CLOCK_MONOTONIC_COARSE, &tp) == 0 &&
9
+#ifdef CLOCK_MONOTONIC_FAST
10
+        if (clock_getres(CLOCK_MONOTONIC_FAST, &tp) == 0 &&
11
             (tp.tv_nsec / 1000) <= 1000 &&
12
-            clock_gettime(CLOCK_MONOTONIC_COARSE, &tp) == 0)
13
-            clockid = CLOCK_MONOTONIC_COARSE;
14
+            clock_gettime(CLOCK_MONOTONIC_FAST, &tp) == 0)
15
+            clockid = CLOCK_MONOTONIC_FAST;
16
         else
17
 #endif
18
         if (clock_gettime(CLOCK_MONOTONIC, &tp) == 0)

Return to bug 252816