File _service:download_src_package:pflogsumm-1.1.3-datecalc.patch of Package postfix (Revision c6f0f2d25535c107dcfba816f4ce25f1)
Currently displaying revision c6f0f2d25535c107dcfba816f4ce25f1, show latest
x
1
diff -up pflogsumm-1.1.3/pflogsumm.pl.datecalc pflogsumm-1.1.3/pflogsumm.pl
2
--- pflogsumm-1.1.3/pflogsumm.pl.datecalc 2010-03-20 21:00:42.000000000 +0100
3
+++ pflogsumm-1.1.3/pflogsumm.pl 2010-06-10 15:57:27.000000000 +0200
4
5
use strict;
6
use locale;
7
use Getopt::Long;
8
-eval { require Date::Calc };
9
-my $hasDateCalc = $@ ? 0 : 1;
10
+require Date::Calc;
11
+my $hasDateCalc = 1;
12
13
my $mailqCmd = "mailq";
14
my $release = "1.1.3";
15