SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
devel/p5-Class-Date/patches/patch-lib_Class_Date_pm
Normal file
14
devel/p5-Class-Date/patches/patch-lib_Class_Date_pm
Normal file
|
@ -0,0 +1,14 @@
|
|||
Disable NOTZ_TIMEZONE, it breaks in Europe/London during winter time.
|
||||
|
||||
Index: lib/Class/Date.pm
|
||||
--- lib/Class/Date.pm.orig
|
||||
+++ lib/Class/Date.pm
|
||||
@@ -47,7 +47,7 @@ $DATE_FORMAT="%Y-%m-%d %H:%M:%S";
|
||||
|
||||
sub _set_tz { my ($tz) = @_;
|
||||
my $lasttz = $ENV{TZ};
|
||||
- if (!defined $tz || $tz eq $NOTZ_TIMEZONE) {
|
||||
+ if (!defined $tz) {
|
||||
# warn "_set_tz: deleting TZ\n";
|
||||
delete $ENV{TZ};
|
||||
Env::C::unsetenv('TZ') if exists $INC{"Env/C.pm"};
|
Loading…
Add table
Add a link
Reference in a new issue