<pre style='margin:0'>
ra1nb0w (ra1nb0w) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ba1a4a0e5e928249fa4a114c5f8f4137d8428bf5">https://github.com/macports/macports-ports/commit/ba1a4a0e5e928249fa4a114c5f8f4137d8428bf5</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ba1a4a0e5e928249fa4a114c5f8f4137d8428bf5
</span>Author: Davide Gerhard <ra1nb0w@macports.org>
AuthorDate: Wed May 13 09:56:17 2020 +0200
<span style='display:block; white-space:pre;color:#404040;'> pihpsdr: fix linking on macOS < 10.12
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/60479
</span>---
.../files/0001-clock_gettime-is-not-available-on-macOS-10.12.patch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/pihpsdr/files/0001-clock_gettime-is-not-available-on-macOS-10.12.patch b/science/pihpsdr/files/0001-clock_gettime-is-not-available-on-macOS-10.12.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index e7c18c7..329793c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/pihpsdr/files/0001-clock_gettime-is-not-available-on-macOS-10.12.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/pihpsdr/files/0001-clock_gettime-is-not-available-on-macOS-10.12.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,8 +37,8 @@ index 0000000..f828c7c
</span> +#include <sys/time.h>
+#include <mach/mach_time.h>
+
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+// here to avoid problem on linking of qrtplib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+inline int clock_gettime( clockid_t clk_id, struct timespec *ts )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// here to avoid problem on linking
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static inline int clock_gettime( clockid_t clk_id, struct timespec *ts )
</span> +{
+ int ret = -1;
+ if ( ts )
</pre><pre style='margin:0'>
</pre>