diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2025-06-26 12:11:06 +0200 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2025-06-29 09:42:55 +0200 |
commit | 0711140ab0112dd495eb7378e02871bcb8117edf (patch) | |
tree | 8badbe513e9133b6607963fa82b8611d4c2c5900 /lang/perl5.42/files/patch-perl.c | |
parent | audio/py-pyradio: Fix a typo (diff) |
lang/perl5.42: introduce new Perl version
Changes: https://metacpan.org/release/CONTRA/perl-5.42.0-RC1/view/pod/perldelta.pod
Diffstat (limited to 'lang/perl5.42/files/patch-perl.c')
-rw-r--r-- | lang/perl5.42/files/patch-perl.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lang/perl5.42/files/patch-perl.c b/lang/perl5.42/files/patch-perl.c new file mode 100644 index 000000000000..736f9a7c5543 --- /dev/null +++ b/lang/perl5.42/files/patch-perl.c @@ -0,0 +1,28 @@ +Remove compile time information (reproducible builds) + +--- perl.c.orig 2025-06-24 16:19:17 UTC ++++ perl.c +@@ -2113,23 +2113,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. */ |