aboutsummaryrefslogtreecommitdiff
path: root/mail/pflogstats/files/patch-sqwmstats.pl
diff options
context:
space:
mode:
Diffstat (limited to 'mail/pflogstats/files/patch-sqwmstats.pl')
-rw-r--r--mail/pflogstats/files/patch-sqwmstats.pl43
1 files changed, 43 insertions, 0 deletions
diff --git a/mail/pflogstats/files/patch-sqwmstats.pl b/mail/pflogstats/files/patch-sqwmstats.pl
new file mode 100644
index 000000000000..ce584bf269b3
--- /dev/null
+++ b/mail/pflogstats/files/patch-sqwmstats.pl
@@ -0,0 +1,43 @@
+--- sqwmstats.pl.orig Fri Apr 4 15:29:35 2003
++++ sqwmstats.pl Mon May 12 10:38:01 2003
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -W
++#!/usr/bin/perl
+
+ ###
+ # Project: pflogstats
+@@ -32,28 +32,27 @@
+ ###
+
+
+-use warnings;
+ use strict;
+
+ ## Name and version
+-my $release = "0.03";
+-our $progName = "sqwmstats.pl";
++use vars qw{$release $progName};
++$release = "0.03";
++$progName = "sqwmstats.pl";
+
+
+ ## Define global variables
+
+ # option handling
+-our %options;
+-our %opts;
++use vars qw{%options %opts};
+
+ $options{'help|h|?'} = \$opts{'help'};
+ $options{"version"} = \$opts{'version'};
+
+ # module hooks
+-our %hooks;
++use vars qw{%hooks};
+
+ # Number formats
+-our %numberformat;
++use vars qw{%numberformat};
+
+ ## Module loader
+ # General