<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/4cf1e01d9fc65f7116e972479ec01456bc2ffbd1">https://github.com/macports/macports-base/commit/4cf1e01d9fc65f7116e972479ec01456bc2ffbd1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 4cf1e01d9fc65f7116e972479ec01456bc2ffbd1
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Fri Feb 9 20:40:04 2024 +1100
<span style='display:block; white-space:pre;color:#404040;'> foreachport: ensure portmetadata is always set
</span>---
src/portlist1.0/portlist.tcl | 2 ++
1 file changed, 2 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/portlist1.0/portlist.tcl b/src/portlist1.0/portlist.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 5d0b3108b..545942611 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/portlist1.0/portlist.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/portlist1.0/portlist.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -116,6 +116,8 @@ proc foreachport {portlist block} {
</span> set options [dict get $portspec options]
if {[dict exists $portspec metadata]} {
set portmetadata [dict get $portspec metadata]
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set portmetadata ""
</span> }
}
</pre><pre style='margin:0'>
</pre>