aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-04-20 02:05:49 +0800
committerbrian <brian@FreeBSD.org>2002-04-20 02:05:49 +0800
commit83fe8c5164853ab83eab5ef5fe6d407d1baf1f4f (patch)
treee90b395d4ba2a850b7642bf914bfe685f9830cb2 /misc
parent39242a2cf44808b8035e04040bfd15961bfb666f (diff)
downloadfreebsd-ports-gnome-83fe8c5164853ab83eab5ef5fe6d407d1baf1f4f.tar.gz
freebsd-ports-gnome-83fe8c5164853ab83eab5ef5fe6d407d1baf1f4f.tar.zst
freebsd-ports-gnome-83fe8c5164853ab83eab5ef5fe6d407d1baf1f4f.zip
Silence perl -w
Diffstat (limited to 'misc')
-rw-r--r--misc/p5-DataCash/files/patch-CCCheck::CCCheck.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/p5-DataCash/files/patch-CCCheck::CCCheck.pm b/misc/p5-DataCash/files/patch-CCCheck::CCCheck.pm
new file mode 100644
index 000000000000..8b36a756ee32
--- /dev/null
+++ b/misc/p5-DataCash/files/patch-CCCheck::CCCheck.pm
@@ -0,0 +1,11 @@
+--- CCCheck/CCCheck.pm.orig Fri Apr 19 18:59:51 2002
++++ CCCheck/CCCheck.pm Fri Apr 19 19:02:33 2002
+@@ -834,7 +834,7 @@
+ my $iin=substr($card_number, 0, 6);
+
+ # If we have an exact match, look up the stuff and return it
+- if ($prefixes->{$iin} ne "") {
++ if ($prefixes->{$iin} && $prefixes->{$iin} ne "") {
+ return $iin;
+ } else {
+ # We'll look for ranges. First of all, try the wide and narrow