<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e93c9dfb649069ae21192653d8fa85c698e0be5c">https://github.com/macports/macports-ports/commit/e93c9dfb649069ae21192653d8fa85c698e0be5c</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 e93c9dfb649 legacy-support: update to v1.2.3
</span>e93c9dfb649 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e93c9dfb649069ae21192653d8fa85c698e0be5c
</span>Author: Fred Wright <fw@fwright.net>
AuthorDate: Tue Apr 23 17:18:03 2024 -0700
<span style='display:block; white-space:pre;color:#404040;'> legacy-support: update to v1.2.3
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Adds support for stpncpy().
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes reexport issue building libMacportsLegacySystem.B.dylib on
</span><span style='display:block; white-space:pre;color:#404040;'> 11.x+, without relying on optool.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes a warning building one of the tests.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> TESTED:
</span><span style='display:block; white-space:pre;color:#404040;'> Tested both normal and -devel versions (currently identical) on
</span><span style='display:block; white-space:pre;color:#404040;'> 10.4-10.5 ppc, 10.5-10.6 ppc (i386 Rosetta), 10.4-10.6 i386, 10.4-12.x
</span><span style='display:block; white-space:pre;color:#404040;'> x86_64, and 11.x-14.x arm64.
</span><span style='display:block; white-space:pre;color:#404040;'> Builds on all tested platforms except 10.5 ppc +universal.
</span><span style='display:block; white-space:pre;color:#404040;'> Passes all tests in all buildable cases.
</span>---
devel/legacy-support/Portfile | 52 ++++---------------------------------------
1 file changed, 4 insertions(+), 48 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/legacy-support/Portfile b/devel/legacy-support/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 88ea9bfd5f1..2a38edb7c60 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/legacy-support/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/legacy-support/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,7 +22,7 @@ long_description {*}${description}
</span> epoch 1
# Primary release version
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set release_ver 1.2.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set release_ver 1.2.3
</span>
# Binary compatibility version
set compat_ver 1.0.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,9 +31,9 @@ subport ${name} {
</span> conflicts ${name}-devel
github.setup macports macports-legacy-support ${release_ver} v
revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 86aa4edf8de2fd011549fe4868a5d51bb6ce9d6d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 3fd9e012755359db44f3173d2c3eddae0021a778993661e345596d56e2085bb7 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 74875
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 53baafdf912c86e756a94b5e6059690c2c84ff62 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e7fdcd48727eeb733527ff7e059406c3ea7f8abbcc5e754bf3fc344ede696c23 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 75998
</span> }
subport ${name}-devel {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -67,13 +67,9 @@ post-extract {
</span> delete ${worksrcpath}/src/macports_legacy_atexit.c
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set max_darwin_reexport 19
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set max_darwin_optool 20
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> build.env-append LD=ld \
"LIPO=/usr/bin/lipo" \
PLATFORM=${os.major} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- MAX_DARWIN_REEXPORT=${max_darwin_reexport} \
</span> SOCURVERSION=${release_ver} \
SOCOMPATVERSION=${compat_ver}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -111,46 +107,6 @@ proc tiger_copy {from to} {
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# The legacy-support build cannot create the LegacySupportSystem library
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# directly on newer systems as the reexport link option to
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# /usr/lib/libSystem.B.dylib does not work, due to the file system
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# library cache added in macOS11.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Fall back to using optool here. Optool does not currently work on arm64.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# This means that LegacySupportSystem will be missing on arm64, and that
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# universal builds of LegacySupportSystem will lack the arm64 slice
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# (which will produce a warning).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if { ${os.major} > ${max_darwin_reexport}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- && ${os.major} <= ${max_darwin_optool}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- && ${subport} ne "${name}-devel" } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # First determine whether any non-arm64 slice will be built
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set optool_needed no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach arch ${muniversal.architectures} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${arch} ne "arm64"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set optool_needed yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # If any non-arm64, add optool dependency
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${optool_needed} } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append port:optool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_skip_archcheck-append optool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # After destroot, apply optool to any non-arm64 slice
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${muniversal.build_arch} ne "arm64" } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set legSupp ${prefix}/lib/libMacportsLegacySupport.dylib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set legSystem ${prefix}/lib/libMacportsLegacySystem.B.dylib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![file exists ${destroot}${legSystem}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${destroot}${legSupp} ${destroot}${legSystem}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "${prefix}/bin/optool install -c reexport -p /usr/lib/libSystem.B.dylib -t ${destroot}${legSystem}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_warn "${destroot}${legSystem} already exists."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> if {![file exists ${prefix}/libexec/mpstats]} {
notes "
To help make sure your system continues to be well represented by MacPorts, especially\
</pre><pre style='margin:0'>
</pre>