<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/a0a5b21f5d7c2ced9fc5f0e1374734e748bdd2ee">https://github.com/macports/macports-ports/commit/a0a5b21f5d7c2ced9fc5f0e1374734e748bdd2ee</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 a0a5b21f5d7 python313-devel: attempt to fix platform_triplet.c failure
</span>a0a5b21f5d7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a0a5b21f5d7c2ced9fc5f0e1374734e748bdd2ee
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Mon Apr 15 20:20:32 2024 +1000
<span style='display:block; white-space:pre;color:#404040;'> python313-devel: attempt to fix platform_triplet.c failure
</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/69729
</span>---
lang/python313-devel/Portfile | 3 ++-
.../python313-devel/files/platform_triplet.c.patch | 23 ++++++++++++++++++++++
2 files changed, 25 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python313-devel/Portfile b/lang/python313-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9d75e940e62..b3a5261ea6c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python313-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python313-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,7 +31,8 @@ patchfiles patch-configure.diff \
</span> configure-disable-libb2.patch \
configure-disable-libuuid.patch \
configure-disable-tkinter.patch \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- readline-functypes.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ readline-functypes.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ platform_triplet.c.patch
</span>
if {${os.platform} eq "darwin" && ${os.major} <= 10} {
# work around no copyfile and/or pthread_threadid_np on older systems
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python313-devel/files/platform_triplet.c.patch b/lang/python313-devel/files/platform_triplet.c.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..cf057ecefbb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python313-devel/files/platform_triplet.c.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Misc/platform_triplet.c.orig 2024-04-09 19:56:22
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Misc/platform_triplet.c 2024-04-15 20:14:05
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -246,8 +246,8 @@ PLATFORM_TRIPLET=i386-gnu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #elif defined(__APPLE__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # include "TargetConditionals.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-# if TARGET_OS_IOS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-# if TARGET_OS_SIMULATOR
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# if defined(TARGET_OS_IOS) && TARGET_OS_IOS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# if defined(TARGET_OS_SIMULATOR) && TARGET_OS_SIMULATOR
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if __x86_64__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PLATFORM_TRIPLET=x86_64-iphonesimulator
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -256,7 +256,8 @@ PLATFORM_TRIPLET=arm64-iphoneos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PLATFORM_TRIPLET=arm64-iphoneos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-# elif TARGET_OS_OSX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++/* Older macOS SDKs do not define TARGET_OS_OSX */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# elif !defined(TARGET_OS_OSX) || TARGET_OS_OSX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PLATFORM_TRIPLET=darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # error unknown Apple platform
</span></pre><pre style='margin:0'>
</pre>