summaryrefslogtreecommitdiff
path: root/systems/texlive/tlnet/tlpkg/tlperl/lib/CORE/patchlevel.h
diff options
context:
space:
mode:
Diffstat (limited to 'systems/texlive/tlnet/tlpkg/tlperl/lib/CORE/patchlevel.h')
-rw-r--r--systems/texlive/tlnet/tlpkg/tlperl/lib/CORE/patchlevel.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/CORE/patchlevel.h b/systems/texlive/tlnet/tlpkg/tlperl/lib/CORE/patchlevel.h
index 1a48368e7c..9bd928bc38 100644
--- a/systems/texlive/tlnet/tlpkg/tlperl/lib/CORE/patchlevel.h
+++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/CORE/patchlevel.h
@@ -38,8 +38,8 @@ Instead use one of the version comparison macros. See C<L</PERL_VERSION_EQ>>.
* exactly on the third column */
#define PERL_REVISION 5 /* age */
-#define PERL_VERSION 34 /* epoch */
-#define PERL_SUBVERSION 0 /* generation */
+#define PERL_VERSION 38 /* epoch */
+#define PERL_SUBVERSION 2 /* generation */
/* The following numbers describe the earliest compatible version of
Perl ("compatibility" here being defined as sufficient binary/API
@@ -59,7 +59,7 @@ Instead use one of the version comparison macros. See C<L</PERL_VERSION_EQ>>.
changing them should not be necessary.
*/
#define PERL_API_REVISION 5
-#define PERL_API_VERSION 34
+#define PERL_API_VERSION 38
#define PERL_API_SUBVERSION 0
/*
XXX Note: The selection of non-default Configure options, such
@@ -118,11 +118,12 @@ open PLIN, "<", "patchlevel.h" or die "Couldn't open patchlevel.h : $!";
open PLOUT, ">", "patchlevel.new" or die "Couldn't write on patchlevel.new : $!";
my $seen=0;
while (<PLIN>) {
- if (/\t,NULL/ and $seen) {
+ if (/^(\s+),NULL/ and $seen) {
+ my $pre = $1;
while (my $c = shift @ARGV){
$c =~ s|\\|\\\\|g;
$c =~ s|"|\\"|g;
- print PLOUT qq{\t,"$c"\n};
+ print PLOUT qq{$pre,"$c"\n};
}
}
$seen++ if /local_patches\[\]/;
@@ -153,7 +154,7 @@ hunk.
# define PERL_PATCHNUM "UNKNOWN-microperl"
# define PERL_GIT_UNPUSHED_COMMITS /*leave-this-comment*/
# else
-#include "git_version.h"
+# include "git_version.h"
# endif
static const char * const local_patches[] = {
NULL
@@ -167,7 +168,7 @@ static const char * const local_patches[] = {
/* Initial space prevents this variable from being inserted in config.sh */
-# define LOCAL_PATCH_COUNT \
+# define LOCAL_PATCH_COUNT \
((int)(C_ARRAY_LENGTH(local_patches)-2))
/* the old terms of reference, add them only when explicitly included */