<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3b14745f335dcc98074eb79cd98f278f36a2eb39">https://github.com/macports/macports-ports/commit/3b14745f335dcc98074eb79cd98f278f36a2eb39</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 3b14745f335 python39: tweak copyfile patch
</span>3b14745f335 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 3b14745f335dcc98074eb79cd98f278f36a2eb39
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sat Dec 19 21:25:55 2020 -0800
<span style='display:block; white-space:pre;color:#404040;'> python39: tweak copyfile patch
</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/61848
</span>---
.../python39/files/patch-no-copyfile-on-Tiger.diff | 24 ++++++++++++++++------
1 file changed, 18 insertions(+), 6 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 cbbfae0c16e..1a0e3ef3fb1 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;'>@@ -41,14 +41,26 @@ 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;'>-@@ -8,6 +8,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test macro, e.g. '_MSC_VER'. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -56,7 +56,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if defined(__APPLE__)
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- #ifdef __APPLE__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined(__has_builtin) && __has_builtin(__builtin_available)
</span> +#include <AvailabilityMacros.h>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- /*
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * Step 1 of support for weak-linking a number of symbols existing on
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * OSX 10.4 and later, see the comment in the #ifdef __APPLE__ block
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</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_FSTATAT_RUNTIME __builtin_available(macOS 10.10, iOS 8.0, *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define HAVE_FACCESSAT_RUNTIME __builtin_available(macOS 10.10, iOS 8.0, *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define HAVE_FCHMODAT_RUNTIME __builtin_available(macOS 10.10, iOS 8.0, *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -74,6 +77,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 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:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define HAVE_POSIX_SPAWN_SETSID_RUNTIME __builtin_available(macOS 10.15, *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else /* Xcode 8 or earlier */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> @@ -109,7 +110,7 @@ corresponding Unix manual entries for more information on calls.");
# include <sys/sendfile.h>
#endif
</pre><pre style='margin:0'>
</pre>