<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-base.

</pre>
<p><a href="https://github.com/macports/macports-base/commit/f64caab2d72e4ebddfedd388fc122dfb2d7ed4f4">https://github.com/macports/macports-base/commit/f64caab2d72e4ebddfedd388fc122dfb2d7ed4f4</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 f64caab2d xinstall: fix build on 10.12
</span>f64caab2d is described below

<span style='display:block; white-space:pre;color:#808000;'>commit f64caab2d72e4ebddfedd388fc122dfb2d7ed4f4
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Wed Sep 25 13:54:51 2024 +1000

<span style='display:block; white-space:pre;color:#404040;'>    xinstall: fix build on 10.12
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://trac.macports.org/ticket/70906
</span>---
 src/pextlib1.0/xinstall.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/pextlib1.0/xinstall.c b/src/pextlib1.0/xinstall.c
</span><span style='display:block; white-space:pre;color:#808080;'>index 3cb59fe03..e27e436c8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/pextlib1.0/xinstall.c
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/pextlib1.0/xinstall.c
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -139,7 +139,7 @@ static char *funcname;
</span> static int safecopy, docompare, dostrip, dobackup, dopreserve, nommap;
 static mode_t mode;
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#ifdef HAVE_CLONEFILE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#ifdefined(HAVE_CLONEFILE) && defined(CLONE_NOOWNERCOPY)
</span> static int        clone(const char *, const char *, int, char *, size_t);
 #endif
 static int     copy(Tcl_Interp *interp, int, const char *, int, const char *, off_t);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -535,7 +535,7 @@ install(Tcl_Interp *interp, const char *from_name, const char *to_name, u_long f
</span> 
        if (!files_match) {
            int done_clone = 0;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#ifdef HAVE_CLONEFILE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined(HAVE_CLONEFILE) && defined(CLONE_NOOWNERCOPY)
</span>       if (tryclone && !devnull && !dostrip) {
                done_clone = (clone(from_name, to_name, tempcopy, tempfile, sizeof(tempfile)) == 0);
            }
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1044,7 +1044,7 @@ copy(Tcl_Interp *interp, int from_fd, const char *from_name, int to_fd, const ch
</span>  * clone --
  *     create a clone of a file
  */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#ifdef HAVE_CLONEFILE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined(HAVE_CLONEFILE) && defined(CLONE_NOOWNERCOPY)
</span> static int
 clone(const char *from_name, const char *to_name,
       int use_temp, char *temp_name, size_t tsize)
</pre><pre style='margin:0'>

</pre>