diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-perl/Date-ICal/files | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-perl/Date-ICal/files')
-rw-r--r-- | dev-perl/Date-ICal/files/Date-ICal-2.678-timegm-year.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-perl/Date-ICal/files/Date-ICal-2.678-timegm-year.patch b/dev-perl/Date-ICal/files/Date-ICal-2.678-timegm-year.patch new file mode 100644 index 000000000000..a133c7ec7b11 --- /dev/null +++ b/dev-perl/Date-ICal/files/Date-ICal-2.678-timegm-year.patch @@ -0,0 +1,27 @@ +From 9d7e303d13541e9546b303a6eb5508bd23e204a5 Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Fri, 24 Jul 2020 18:04:44 +1200 +Subject: Always pass full year to timegm() + +Bug: https://rt.cpan.org/Ticket/Display.html?id=124548 +Bug: https://bugs.gentoo.org/707790 +--- + lib/Date/ICal.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/Date/ICal.pm b/lib/Date/ICal.pm +index 39844af..fbfdbaf 100755 +--- a/lib/Date/ICal.pm ++++ b/lib/Date/ICal.pm +@@ -334,7 +334,7 @@ sub epoch { + + $epoch = + timegm( $self->sec, $self->min, $self->hour, $self->day, +- ( $self->month ) - 1, ( $self->year ) - 1900 ); ++ ( $self->month ) - 1, $self->year ); + } + + return $epoch; +-- +2.27.0 + |