<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-legacy-support.
</pre>
<p><a href="https://github.com/macports/macports-legacy-support/commit/f75ea79fe2ee560040fa690a4f78786af7d401be">https://github.com/macports/macports-legacy-support/commit/f75ea79fe2ee560040fa690a4f78786af7d401be</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 f75ea79 fsgetpath: can only build at present on 10.6+
</span>f75ea79 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f75ea79fe2ee560040fa690a4f78786af7d401be
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sat May 9 14:40:59 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> fsgetpath: can only build at present on 10.6+
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> dumb mistake -- should have checked this before the release
</span><span style='display:block; white-space:pre;color:#404040;'> will fix
</span>---
src/fsgetpath.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/fsgetpath.c b/src/fsgetpath.c
</span><span style='display:block; white-space:pre;color:#808080;'>index 9b146db..48cf63c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/fsgetpath.c
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/fsgetpath.c
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,6 +23,8 @@
</span>
#if 1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+/* SYS_fsgetpath is only available on 10.6 and up */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
</span> /* implement using a syscall available macOS 10.6 to 10.12 */
/* this should be thoroughly vetted as a syscall, but is private API */
#include <unistd.h>
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,7 +35,7 @@ ssize_t fsgetpath(char * buf, size_t buflen, fsid_t * fsid, uint64_t obj_id) {
</span> return (ssize_t)syscall(SYS_fsgetpath, buf, (size_t)buflen, fsid, (uint64_t)obj_id);
}
#endif
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span>
#if 0
/* implement with a compatability function that presently compiles on 10.6 and over */
</pre><pre style='margin:0'>
</pre>