Ticket #25592: patch-port.tcl.diff

File patch-port.tcl.diff, 521 bytes (added by lperry (Perry Lee), 14 years ago)
  • port.tcl

     
    415415    array set b_ $b
    416416    set namecmp [string compare -nocase $a_(name) $b_(name)]
    417417    if {$namecmp != 0} {
    418         return $namecmp
     418        if {$a_(name) eq [lindex [lsort -dictionary [list $a_(name) $b_(name)]] 0]} {
     419            return -1
     420        }
     421        return 1
    419422    }
    420423    set avr_ [split $a_(version) "_"]
    421424    set bvr_ [split $b_(version) "_"]