summaryrefslogtreecommitdiff
path: root/lang/perl5.18/files/patch-perl.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-04-09 12:21:29 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-04-09 12:21:29 +0000
commitbfee655ccfd4b4ce770d4aca8a31f44df7d52229 (patch)
tree13588e47865d92c5a884f61a462b25fb3c56bb9f /lang/perl5.18/files/patch-perl.c
parentupdate to 0.2.6.7 (diff)
Make Perl build more reproducibly.
Differential Revision: https://reviews.freebsd.org/D2016 Some bits from: Jérémy Bobbio <lunar@debian.org> Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=383641
Diffstat (limited to 'lang/perl5.18/files/patch-perl.c')
-rw-r--r--lang/perl5.18/files/patch-perl.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/lang/perl5.18/files/patch-perl.c b/lang/perl5.18/files/patch-perl.c
new file mode 100644
index 000000000000..78514ddb559b
--- /dev/null
+++ b/lang/perl5.18/files/patch-perl.c
@@ -0,0 +1,21 @@
+--- perl.c.orig 2014-10-01 01:33:00 UTC
++++ perl.c
+@@ -1789,18 +1789,7 @@ S_Internals_V(pTHX_ CV *cv)
+ PUSHs(Perl_newSVpvn_flags(aTHX_ non_bincompat_options,
+ sizeof(non_bincompat_options) - 1, SVs_TEMP));
+
+-#ifdef __DATE__
+-# ifdef __TIME__
+- PUSHs(Perl_newSVpvn_flags(aTHX_
+- STR_WITH_LEN("Compiled at " __DATE__ " " __TIME__),
+- SVs_TEMP));
+-# else
+- PUSHs(Perl_newSVpvn_flags(aTHX_ STR_WITH_LEN("Compiled on " __DATE__),
+- SVs_TEMP));
+-# endif
+-#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. */