<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/133bbc8f66b786b2b2d3a6c0a66129d77189ef53">https://github.com/macports/macports-base/commit/133bbc8f66b786b2b2d3a6c0a66129d77189ef53</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 133bbc8f66b786b2b2d3a6c0a66129d77189ef53
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Fri May 24 16:06:42 2024 +1000

<span style='display:block; white-space:pre;color:#404040;'>    migrate::uninstall_incompatible: use snapshot::_os_mismatch
</span>---
 src/macports1.0/migrate.tcl | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/macports1.0/migrate.tcl b/src/macports1.0/migrate.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 4142fb2b3..bb9aef400 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/macports1.0/migrate.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/macports1.0/migrate.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -144,14 +144,11 @@ namespace eval migrate {
</span>     #
     # @return void on success, raises an error on failure
     proc uninstall_incompatible {} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        global macports::os_major macports::os_platform
</span>         set options [dict create ports_nodepcheck 1]
         set portlist [restore::portlist_sort_dependencies_later [registry::entry imaged]]
         foreach port $portlist {
             # TODO: check archs match (needs open mport)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-            if {($os_major eq [$port os_major] || [$port os_major] eq "any")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                && ($os_platform eq [$port os_platform] || [$port os_platform] eq "any")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            } then {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            if {![snapshot::_os_mismatch [$port os_platform] [$port os_major]]} {
</span>                 # Compatible with current platform
                 continue
             }
</pre><pre style='margin:0'>

</pre>