#! /bin/sh /usr/share/dpatch/dpatch-run
## 10-debian-versions-511364.dpatch by Jonathan Wiltshire <debian@jwiltshire.org.uk>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: In upstream v0.22, the module for Debian regressed from providing
## DP: output for all distributions. This patch restores this, pending a
## DP: decision from upstream about how to handle this.
## DP: See bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511364
## DP: Status: forwarded upstream to phi1ipp@yahoo.com

@DPATCH@
--- whohas-0.23.orig/program/whohas
+++ whohas-0.23/program/whohas
@@ -983,7 +983,7 @@
 	my @urls;
 	my @sizes;
 	my @dates;
-	my @dists = ( 'stable', 'testing' );
+	my @dists = ( 'stable', 'testing', 'unstable', 'experimental' );
 	for (my $x = 0; $x < @dists; $x++) {
 		my @lines = split /\n/, &fetchdoc($debianbase."/search?keywords=".$_[0]."&searchon=names&suite=".$dists[$x]."&section=all");
 		for (my $i = 50; $i < @lines; $i++) {
