summaryrefslogtreecommitdiff
path: root/lang/perl5.30/files/patch-perl.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2019-05-13 07:36:38 +0000
committerMathieu Arnold <mat@FreeBSD.org>2019-05-13 07:36:38 +0000
commit28017ff3eee2947d98239caaaf35fabea570d5ec (patch)
tree81809add245cef01d975e21c7f6514e7dea3b991 /lang/perl5.30/files/patch-perl.c
parentcomms/xdemorse: fix build with GCC-based architectures (diff)
Welcome Perl 5.30 (now at 5.30.0-RC1)
Changes: https://metacpan.org/pod/release/XSAWYERX/perl-5.30.0-RC1/pod/perldelta.pod Changes: https://metacpan.org/pod/release/XSAWYERX/perl-5.30.0-RC1/pod/perldeprecation.pod#Perl-5.30
Notes
Notes: svn path=/head/; revision=501523
Diffstat (limited to '')
-rw-r--r--lang/perl5.30/files/patch-perl.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/lang/perl5.30/files/patch-perl.c b/lang/perl5.30/files/patch-perl.c
new file mode 100644
index 000000000000..8ce0960e064a
--- /dev/null
+++ b/lang/perl5.30/files/patch-perl.c
@@ -0,0 +1,28 @@
+Remove compile time information (reproducible builds)
+
+--- perl.c.orig 2019-03-31 21:08:28 UTC
++++ perl.c
+@@ -2009,23 +2009,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. */