[153947] trunk/dports/graphics/oce
mps at macports.org
mps at macports.org
Sun Oct 16 22:30:15 CEST 2016
Revision: 153947
https://trac.macports.org/changeset/153947
Author: mps at macports.org
Date: 2016-10-16 13:30:15 -0700 (Sun, 16 Oct 2016)
Log Message:
-----------
oce: fix Sierra build issue.
Modified Paths:
--------------
trunk/dports/graphics/oce/Portfile
Added Paths:
-----------
trunk/dports/graphics/oce/files/
trunk/dports/graphics/oce/files/patch-src-OSD-OSD_Chronometer.cxx.diff
Modified: trunk/dports/graphics/oce/Portfile
===================================================================
--- trunk/dports/graphics/oce/Portfile 2016-10-16 19:48:51 UTC (rev 153946)
+++ trunk/dports/graphics/oce/Portfile 2016-10-16 20:30:15 UTC (rev 153947)
@@ -21,6 +21,10 @@
depends_lib-append port:freetype
+platform darwin 16 {
+ patchfiles-append patch-src-OSD-OSD_Chronometer.cxx.diff
+}
+
# tell CMake to build in a build directory
configure.dir ${workpath}/build
build.dir ${configure.dir}
Added: trunk/dports/graphics/oce/files/patch-src-OSD-OSD_Chronometer.cxx.diff
===================================================================
--- trunk/dports/graphics/oce/files/patch-src-OSD-OSD_Chronometer.cxx.diff (rev 0)
+++ trunk/dports/graphics/oce/files/patch-src-OSD-OSD_Chronometer.cxx.diff 2016-10-16 20:30:15 UTC (rev 153947)
@@ -0,0 +1,16 @@
+--- src/OSD/OSD_Chronometer.cxx.orig 2016-06-02 07:18:16.000000000 -0500
++++ src/OSD/OSD_Chronometer.cxx 2016-10-16 15:01:08.000000000 -0500
+@@ -51,9 +51,10 @@
+ #include <mach/mach.h>
+ #endif
+
+-#if defined(__APPLE__) && defined(__MACH__)
+-#include "gettime_osx.h"
+-#endif
++//Not needed for Sierra
++//#if defined(__APPLE__) && defined(__MACH__)
++//#include "gettime_osx.h"
++//#endif
+
+ //=======================================================================
+ //function : GetProcessCPU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161016/2f54db1d/attachment-0002.html>
More information about the macports-changes
mailing list