summaryrefslogtreecommitdiff
path: root/lang/perl5.32/files/patch-perl.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2020-06-08 14:08:29 +0000
committerMathieu Arnold <mat@FreeBSD.org>2020-06-08 14:08:29 +0000
commit8af4c266571b37ffd783a909b527e562607cc690 (patch)
treee6c81592def17d8b8f3c3af99ca53006cf965f68 /lang/perl5.32/files/patch-perl.c
parentUpdate `sysutils/cpuid2cpuflags' to version 10. (diff)
Add Perl 5.32.0-RC1.
Diffstat (limited to 'lang/perl5.32/files/patch-perl.c')
-rw-r--r--lang/perl5.32/files/patch-perl.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/lang/perl5.32/files/patch-perl.c b/lang/perl5.32/files/patch-perl.c
new file mode 100644
index 000000000000..45df35a52e0d
--- /dev/null
+++ b/lang/perl5.32/files/patch-perl.c
@@ -0,0 +1,28 @@
+Remove compile time information (reproducible builds)
+
+--- perl.c.orig 2020-06-07 22:30:49 UTC
++++ perl.c
+@@ -2058,23 +2058,7 @@ S_Internals_V(pTHX_ CV *cv)
+ PUSHs(Perl_newSVpvn_flags(aTHX_ non_bincompat_options,
+ sizeof(non_bincompat_options) - 1, SVs_TEMP));
+
+-#ifndef PERL_BUILD_DATE
+-# ifdef __DATE__
+-# ifdef __TIME__
+-# define PERL_BUILD_DATE __DATE__ " " __TIME__
+-# else
+-# define PERL_BUILD_DATE __DATE__
+-# endif
+-# endif
+-#endif
+-
+-#ifdef PERL_BUILD_DATE
+- PUSHs(Perl_newSVpvn_flags(aTHX_
+- STR_WITH_LEN("Compiled at " PERL_BUILD_DATE),
+- SVs_TEMP));
+-#else
+ PUSHs(&PL_sv_undef);
+-#endif
+
+ for (i = 1; i <= local_patch_count; i++) {
+ /* This will be an undef, if PL_localpatches[i] is NULL. */