Merge pull request #78769 from basvandijk/staging-perlPackages.TimeDate/use-fetchpatch
perlPackages.TimeDate: use fetchpatch instead of storing the patch
This commit is contained in:
commit
5ff1a53a32
|
@ -1,12 +0,0 @@
|
||||||
Index: TimeDate-2.30/t/getdate.t
|
|
||||||
===================================================================
|
|
||||||
--- TimeDate-2.30.orig/t/getdate.t
|
|
||||||
+++ TimeDate-2.30/t/getdate.t
|
|
||||||
@@ -156,7 +156,7 @@ Jul 22 10:00:00 UTC 2002 ;102733200
|
|
||||||
!;
|
|
||||||
|
|
||||||
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);
|
|
|
@ -19545,8 +19545,13 @@ let
|
||||||
url = mirror://cpan/authors/id/G/GB/GBARR/TimeDate-2.30.tar.gz;
|
url = mirror://cpan/authors/id/G/GB/GBARR/TimeDate-2.30.tar.gz;
|
||||||
sha256 = "11lf54akr9nbivqkjrhvkmfdgkbhw85sq0q4mak56n6bf542bgbm";
|
sha256 = "11lf54akr9nbivqkjrhvkmfdgkbhw85sq0q4mak56n6bf542bgbm";
|
||||||
};
|
};
|
||||||
|
patches = [
|
||||||
# https://rt.cpan.org/Public/Bug/Display.html?id=124509
|
# https://rt.cpan.org/Public/Bug/Display.html?id=124509
|
||||||
patches = [ ../development/perl-modules/timedate-2020.patch ];
|
(fetchpatch {
|
||||||
|
url = "https://github.com/atoomic/perl-TimeDate/commit/4b67ccbdc1846620470ca524a5f3e2afd7b33f66.patch";
|
||||||
|
sha256 = "1q37yw0b2pammvl0aana70nq7krqwhpcanqa11h2pg9sa9ls7q87";
|
||||||
|
})
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
TimeDuration = buildPerlPackage {
|
TimeDuration = buildPerlPackage {
|
||||||
|
|
Loading…
Reference in New Issue