<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/31c2851168831d2bbf7b98b0c074cf26823e4da4">https://github.com/macports/macports-base/commit/31c2851168831d2bbf7b98b0c074cf26823e4da4</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 31c2851168831d2bbf7b98b0c074cf26823e4da4
</span>Author: Clemens Lang <cal@macports.org>
AuthorDate: Tue Mar 19 02:13:50 2024 +0100
<span style='display:block; white-space:pre;color:#404040;'> port: Tolerate progress bars where the 'start' action wasn't called
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> That's typically an error, but it's not good user experience to error
</span><span style='display:block; white-space:pre;color:#404040;'> out because we made a programming mistake, and there's an easy fix for
</span><span style='display:block; white-space:pre;color:#404040;'> this, so take it.
</span>---
src/port/port.tcl | 6 ++++++
1 file changed, 6 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port/port.tcl b/src/port/port.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index c78a45cd4..e8efafe47 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port/port.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port/port.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4733,6 +4733,12 @@ namespace eval portclient::progress {
</span> variable showTimeThreshold
variable showPercentageThreshold
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![info exists startTime]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # update called without start; normally that's an error, but let's
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # be liberal in what we accept and make the start implicit.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ initDelay
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {$show eq "yes"} {
return yes
} else {
</pre><pre style='margin:0'>
</pre>