<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/acc1304a14172458720f0ed8c0259a9907335141">https://github.com/macports/macports-base/commit/acc1304a14172458720f0ed8c0259a9907335141</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 acc1304a1 lint: don't warn about compressed file extensions
</span>acc1304a1 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit acc1304a14172458720f0ed8c0259a9907335141
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Thu May 22 11:50:42 2025 +1000

<span style='display:block; white-space:pre;color:#404040;'>    lint: don't warn about compressed file extensions
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Fixes: https://trac.macports.org/ticket/70428
</span>---
 src/port1.0/portlint.tcl | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/portlint.tcl b/src/port1.0/portlint.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 449b405b8..8b320fdab 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/portlint.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/portlint.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -886,9 +886,11 @@ proc portlint::lint_main {args} {
</span> 
     if {$nitpick && [info exists patchfiles]} {
         foreach patchfile $patchfiles {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-            if {!([string match "*.diff" $patchfile] ||
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                  [string match "*.patch" $patchfile]) &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                 [file exists "$portpath/files/$patchfile"]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            set ext [file extension $patchfile]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            if {$ext in {.Z .gz .bz2 .xz}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                set ext [file extension [file rootname $patchfile]]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            if {$ext ni {.diff .patch} && [file exists ${portpath}/files/${patchfile}]} {
</span>                 ui_warn "Patchfile $patchfile does not follow the source patch naming policy \"*.diff\" or \"*.patch\""
                 incr warnings
             }
</pre><pre style='margin:0'>

</pre>