<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/30b3515b525ac8b8f9a49fe14744d7529c836fef">https://github.com/macports/macports-ports/commit/30b3515b525ac8b8f9a49fe14744d7529c836fef</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 30b3515b525 ola: Fix build on OS X 10.11 and earlier
</span>30b3515b525 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 30b3515b525ac8b8f9a49fe14744d7529c836fef
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Nov 23 23:40:52 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> ola: Fix build on OS X 10.11 and earlier
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fix typo that prevented build on OS X 10.11 and earlier.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: #9204
</span>---
net/ola/Portfile | 2 +-
net/ola/files/Init.cpp.patch | 12 ++++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/ola/Portfile b/net/ola/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1b8628c1d59..36b4cca27ef 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/ola/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/ola/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,7 +28,7 @@ checksums rmd160 f7435b1386e5ad0962cf7d62138ba95d0cda0058 \
</span>
github.tarball_from releases
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.pre_args -p1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles Init.cpp.patch
</span>
depends_build port:pkgconfig
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/ola/files/Init.cpp.patch b/net/ola/files/Init.cpp.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e5a292391d2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/ola/files/Init.cpp.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/OpenLightingProject/ola/commit/f907b4c992e85bfb30559b5855c41194d2c52050
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- common/base/Init.cpp.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ common/base/Init.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -397,7 +397,7 @@ void ClockInit() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ TimeStamp now_monotonic;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ TimeStamp now_realtime;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef CLOCK_MONOTONIC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- OLA_DEBUG << "Monotonic clock unavailable. Falling back to real time clock."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ OLA_DEBUG << "Monotonic clock unavailable. Falling back to real time clock.";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ clock.CurrentMonotonicTime(&now_monotonic);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ clock.CurrentRealTime(&now_realtime);
</span></pre><pre style='margin:0'>
</pre>