Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian@packages.debian.org
Usertags: pu
* Add patch from upstream pull request to fix Y2K20 test failure.
(Closes: #948680)
diff -Nru libtimedate-perl-2.3000/debian/changelog
libtimedate-perl-2.3000/debian/changelog
--- libtimedate-perl-2.3000/debian/changelog2014-04-11 23:42:41.0
+0300
+++ libtimedate-perl-2.3000/debian/changelog2020-01-26 23:13:06.0
+0200
@@ -1,3 +1,11 @@
+libtimedate-perl (2.3000-2+deb10u1) buster; urgency=medium
+
+ * Non-maintainer upload.
+ * Add patch from upstream pull request to fix Y2K20 test failure.
+(Closes: #948680)
+
+ -- Adrian Bunk Sun, 26 Jan 2020 23:13:06 +0200
+
libtimedate-perl (2.3000-2) unstable; urgency=medium
* Team upload
diff -Nru libtimedate-perl-2.3000/debian/patches/series
libtimedate-perl-2.3000/debian/patches/series
--- libtimedate-perl-2.3000/debian/patches/series 2014-04-11
23:36:28.0 +0300
+++ libtimedate-perl-2.3000/debian/patches/series 2020-01-26
23:13:04.0 +0200
@@ -1,2 +1,3 @@
fix-pod-errors.patch
fix-msk-offset.patch
+y2k20.patch
diff -Nru libtimedate-perl-2.3000/debian/patches/y2k20.patch
libtimedate-perl-2.3000/debian/patches/y2k20.patch
--- libtimedate-perl-2.3000/debian/patches/y2k20.patch 1970-01-01
02:00:00.0 +0200
+++ libtimedate-perl-2.3000/debian/patches/y2k20.patch 2020-01-26
23:13:04.0 +0200
@@ -0,0 +1,25 @@
+From 9c46fc2657dfae756d17a8a25ab8cd6c124f1f7b Mon Sep 17 00:00:00 2001
+From: Prajith
+Date: Thu, 2 Jan 2020 11:51:23 +0530
+Subject: [PATCH] Update Test t/getdate.t
+
+Bug: https://github.com/gbarr/perl-TimeDate/pull/19
+Bug-Debian: https://bugs.debian.org/948680
+
+---
+ t/getdate.t | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/t/getdate.t b/t/getdate.t
+index 31b577b..82c5850 100644
+--- a/t/getdate.t
b/t/getdate.t
+@@ -156,7 +156,7 @@ Jul 22 10:00:00 UTC 2002;1027332000
+ !;
+
+ require Time::Local;
+-my $offset = Time::Local::timegm(0,0,0,1,0,70);
++my $offset = Time::Local::timegm(0,0,0,1,0,1970);
+
+ @data = split(/\n/, $data);
+