[151979] users/devans/GNOME-3/stable/dports/graphics/cogl
devans at macports.org
devans at macports.org
Thu Aug 25 13:43:52 PDT 2016
Revision: 151979
https://trac.macports.org/changeset/151979
Author: devans at macports.org
Date: 2016-08-25 13:43:52 -0700 (Thu, 25 Aug 2016)
Log Message:
-----------
GNOME-3/stable: cogl, fix build failure on macOS Sierra.
Modified Paths:
--------------
users/devans/GNOME-3/stable/dports/graphics/cogl/files/patch-clock_gettime.diff
Property Changed:
----------------
users/devans/GNOME-3/stable/dports/graphics/cogl/
Property changes on: users/devans/GNOME-3/stable/dports/graphics/cogl
___________________________________________________________________
Modified: svn:mergeinfo
- /branches/mld-qt-481/dports/graphics/cogl:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/trunk/dports/graphics/cogl:133248-146392
/users/devans/GNOME-3/unstable/dports/graphics/cogl:117866-118100
+ /branches/mld-qt-481/dports/graphics/cogl:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/trunk/dports/graphics/cogl:133248-151978
/users/devans/GNOME-3/unstable/dports/graphics/cogl:117866-118100
Modified: users/devans/GNOME-3/stable/dports/graphics/cogl/files/patch-clock_gettime.diff
===================================================================
--- users/devans/GNOME-3/stable/dports/graphics/cogl/files/patch-clock_gettime.diff 2016-08-25 20:39:07 UTC (rev 151978)
+++ users/devans/GNOME-3/stable/dports/graphics/cogl/files/patch-clock_gettime.diff 2016-08-25 20:43:52 UTC (rev 151979)
@@ -1,14 +1,16 @@
--- cogl/winsys/cogl-winsys-glx.c.orig 2014-03-21 08:50:34.000000000 -0700
+++ cogl/winsys/cogl-winsys-glx.c 2014-03-22 07:26:28.000000000 -0700
-@@ -66,7 +66,26 @@
+@@ -66,7 +66,28 @@
#include <sys/stat.h>
#include <sys/time.h>
#include <fcntl.h>
+
-+#ifdef __MACH__
++#if __APPLE__ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 101200
+#include <mach/mach_time.h>
++#ifndef CLOCK_REALTIME
+#define CLOCK_REALTIME 0
+#define CLOCK_MONOTONIC 0
++#endif
+static int
+clock_gettime(int clk_id, struct timespec *t){
+ mach_timebase_info_data_t timebase;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160825/40bbd9cb/attachment-0001.html>
More information about the macports-changes
mailing list