<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/138d60968a7fae2d002b845cd2d88d732e287ff7">https://github.com/macports/macports-ports/commit/138d60968a7fae2d002b845cd2d88d732e287ff7</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 138d60968a7 python39: fix patchfile for older MacOS X
</span>138d60968a7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 138d60968a7fae2d002b845cd2d88d732e287ff7
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Tue Feb 23 15:16:48 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> python39: fix patchfile for older MacOS X
</span>---
.../python39/files/patch-no-copyfile-on-Tiger.diff | 27 +++++++---------------
1 file changed, 8 insertions(+), 19 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python39/files/patch-no-copyfile-on-Tiger.diff b/lang/python39/files/patch-no-copyfile-on-Tiger.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 1a0e3ef3fb1..ed2bae47902 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python39/files/patch-no-copyfile-on-Tiger.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python39/files/patch-no-copyfile-on-Tiger.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,7 +15,7 @@ diff --git Lib/test/test_shutil.py Lib/test/test_shutil.py
</span> index e56b337..fdc53e3 100644
--- Lib/test/test_shutil.py
+++ Lib/test/test_shutil.py
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -2451,7 +2451,7 @@ class TestZeroCopySendfile(_ZeroCopyFileTest, unittest.TestCase):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2468,7 +2468,7 @@ class TestZeroCopySendfile(_ZeroCopyFileTest, unittest.TestCase):
</span> shutil._USE_CP_SENDFILE = True
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,27 +41,16 @@ diff --git Modules/posixmodule.c Modules/posixmodule.c
</span> index 01e8bcb..ff7fb30 100644
--- Modules/posixmodule.c
+++ Modules/posixmodule.c
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -56,7 +56,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -56,6 +56,8 @@
</span> */
#if defined(__APPLE__)
<span style='display:block; white-space:pre;background:#ffe0e0;'>--#if defined(__has_builtin) && __has_builtin(__builtin_available)
</span> +#include <AvailabilityMacros.h>
+
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if defined(__has_builtin)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if __has_builtin(__builtin_available)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # define HAVE_FSTATAT_RUNTIME __builtin_available(macOS 10.10, iOS 8.0, *)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # define HAVE_FACCESSAT_RUNTIME __builtin_available(macOS 10.10, iOS 8.0, *)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # define HAVE_FCHMODAT_RUNTIME __builtin_available(macOS 10.10, iOS 8.0, *)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -74,6 +77,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # define HAVE_PWRITEV_RUNTIME __builtin_available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, *)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # define HAVE_POSIX_SPAWN_SETSID_RUNTIME __builtin_available(macOS 10.15, *)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #else /* Xcode 8 or earlier */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -109,7 +110,7 @@ corresponding Unix manual entries for more information on calls.");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if defined(__has_builtin)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if __has_builtin(__builtin_available)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define HAVE_BUILTIN_AVAILABLE 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -224,7 +226,7 @@ corresponding Unix manual entries for more information on calls.");
</span> # include <sys/sendfile.h>
#endif
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -70,7 +59,7 @@ index 01e8bcb..ff7fb30 100644
</span> # include <copyfile.h>
#endif
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -9484,7 +9485,7 @@ done:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -9905,7 +9907,7 @@ done:
</span> #endif /* HAVE_SENDFILE */
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -79,7 +68,7 @@ index 01e8bcb..ff7fb30 100644
</span> /*[clinic input]
os._fcopyfile
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -14671,7 +14672,7 @@ all_ins(PyObject *m)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -15110,7 +15112,7 @@ all_ins(PyObject *m)
</span> #endif
#endif
</pre><pre style='margin:0'>
</pre>