Skip to content

Commit 8c2267c

Browse files
committed
patches for perl-5.37.11
1 parent 4250554 commit 8c2267c

File tree

10 files changed

+59
-0
lines changed

10 files changed

+59
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../perl5-5.22.3/constant.patch
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../perl5-5.22.3/dynaloader.patch
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../perl5-5.22.3/findext.patch
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../perl5-5.36.0/installscripts.patch
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../perl5-5.37.8/liblist.patch
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
During the build, MakeMaker is run by miniperl, so $^O is the build
2+
platform; but for the code below, $Is{Android} means that the target
3+
platform is Android.
4+
5+
Replacing $^O check altogether would probably be better,
6+
but there's already a double test like that, and it should be fixed
7+
upstream anyway.
8+
9+
--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
10+
+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
11+
@@ -38,7 +38,7 @@
12+
$Is{BSD} = ($^O =~ /^(?:free|midnight|net|open)bsd$/ or
13+
grep( $^O eq $_, qw(bsdos interix dragonfly) )
14+
);
15+
- $Is{Android} = $^O =~ /android/;
16+
+ $Is{Android} = $^O =~ /android/ || $Config{osname} eq 'android';
17+
if ( $^O eq 'darwin' ) {
18+
my @osvers = split /\./, $Config{osvers};
19+
if ( $^X eq '/usr/bin/perl' ) {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../perl5-5.22.3/posix-makefile.patch
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../perl5-5.22.3/test-checkcase.patch
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../perl5-5.34.0/test-makemaker.patch
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
perl-cross assumes the sources use xconfig.h with -DUSE_CROSS_COMPILE
2+
With perl 5.20.0, it's no longer true. Regardless of what mainline perl
3+
uses, let's stick with the old xconfig.h way for now.
4+
5+
--- a/perl.h
6+
+++ b/perl.h
7+
@@ -41,7 +41,11 @@
8+
#ifdef PERL_MICRO
9+
# include "uconfig.h"
10+
#else
11+
+# ifndef USE_CROSS_COMPILE
12+
# include "config.h"
13+
+# else
14+
+# include "xconfig.h"
15+
+# endif
16+
#endif
17+
18+
/*
19+
--- a/perl_langinfo.h
20+
+++ b/perl_langinfo.h
21+
@@ -4,7 +4,11 @@
22+
#ifndef PERL_LANGINFO_H
23+
#define PERL_LANGINFO_H 1
24+
25+
+#ifdef USE_CROSS_COMPILE
26+
+#include "xconfig.h"
27+
+#else
28+
#include "config.h"
29+
+#endif
30+
31+
#if defined(HAS_NL_LANGINFO) && defined(I_LANGINFO)
32+
# include <langinfo.h>

0 commit comments

Comments
 (0)