summary refs log tree commit diff
path: root/gnu/packages/patches/perl-source-date-epoch.patch
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2016-08-16 17:58:09 -0400
committerLeo Famulari <leo@famulari.name>2016-08-17 22:55:15 -0400
commita3d6e1f432ad5f9cde8bee670b28646e05c4cb19 (patch)
treee4416208cdcd0ab0df8167153dd26cc0142fceb0 /gnu/packages/patches/perl-source-date-epoch.patch
parent9bb1826651cf62cef4448b3bf4d9e55da3a0a8d8 (diff)
downloadguix-a3d6e1f432ad5f9cde8bee670b28646e05c4cb19.tar.gz
gnu: perl: Update to 5.24.0.
* gnu/packages/perl.scm: Update to 5.24.0.
[source]: Add and remove patches.
* gnu/packages/patches/perl-reproducible-build-date.patch: New file.
* gnu/packages/patches/perl-CVE-2015-8607.patch,
gnu/packages/patches/perl-CVE-2016-2381.patch,
gnu/packages/patches/perl-no-build-time.patch,
gnu/packages/patches/perl-source-date-epoch.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Add and remove patches.
Diffstat (limited to 'gnu/packages/patches/perl-source-date-epoch.patch')
-rw-r--r--gnu/packages/patches/perl-source-date-epoch.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/gnu/packages/patches/perl-source-date-epoch.patch b/gnu/packages/patches/perl-source-date-epoch.patch
deleted file mode 100644
index 37330c9537..0000000000
--- a/gnu/packages/patches/perl-source-date-epoch.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Adapted from <https://bugs.debian.org/801621>.
-Make Pod::Man honor the SOURCE_DATE_EPOCH environment variable.
-
---- perl-5.22.0/cpan/podlators/lib/Pod/Man.pm	2015-12-12 22:33:03.321787590 +0100
-+++ perl-5.22.0/cpan/podlators/lib/Pod/Man.pm	2015-12-12 22:36:33.367361338 +0100
-@@ -884,7 +884,12 @@ sub devise_date {
-     my ($self) = @_;
-     my $input = $self->source_filename;
-     my $time;
--    if ($input) {
-+
-+    if (defined($ENV{SOURCE_DATE_EPOCH}) &&
-+        $ENV{SOURCE_DATE_EPOCH} !~ /\D/) {
-+        $time = $ENV{SOURCE_DATE_EPOCH};
-+    }
-+    elsif ($input) {
-         $time = (stat $input)[9] || time;
-     } else {
-         $time = time;