File openbsd-cache-results-557724.patch of Package whohas
For OpenBSD, use @name to loop through a cached list,
not @repos which is never populated.
Status: sent upstream
Reported: http://bugs.debian.org/557724
Author: Jonathan Wiltshire <debian@jwiltshire.org.uk>
--- a/program/whohas
+++ b/program/whohas
@@ -666,7 +666,7 @@ sub openbsd_older {
close OUT;
}
my $matcher = $_[0];
- for (my $i = 0; $i < @repos; $i++) {
+ for (my $i = 0; $i < @names; $i++) {
if ($names[$i] =~ /$matcher/i) {
&pretty_print($cols,@columns,$distroname,$names[$i],$versions[$i],$sizes[$i],$dates[$i],$repos[$i],$urls[$i]);
}