Fredrik Fornwall
8 years ago
3 changed files with 17 additions and 49 deletions
@ -1,16 +0,0 @@ |
|||||
diff -u -r ../perl-5.22.1/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm ./cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
|
|
||||
--- ../perl-5.22.1/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm 2015-10-17 08:38:37.000000000 -0400
|
|
||||
+++ ./cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm 2016-04-22 18:38:59.367520265 -0400
|
|
||||
@@ -19,9 +19,9 @@
|
|
||||
use File::Spec; |
|
||||
|
|
||||
sub ext { |
|
||||
- if ( $^O eq 'VMS' ) { return &_vms_ext; }
|
|
||||
- elsif ( $^O eq 'MSWin32' ) { return &_win32_ext; }
|
|
||||
- else { return &_unix_os2_ext; }
|
|
||||
+ # Termux modification to work with android linker.
|
|
||||
+ my $res = $Config{perllibs} . " -L" . $ENV{'TERMUX_PKG_SRCDIR'} . " -lperl";
|
|
||||
+ return ( $res, '', $res, '' );
|
|
||||
} |
|
||||
|
|
||||
sub _unix_os2_ext { |
|
@ -1,13 +0,0 @@ |
|||||
diff -u -r ../perl-5.22.0/cnf/configure_func.sh ./cnf/configure_func.sh
|
|
||||
--- ../perl-5.22.0/cnf/configure_func.sh 2015-08-26 08:27:51.000000000 -0400
|
|
||||
+++ ./cnf/configure_func.sh 2015-08-30 18:07:01.233675759 -0400
|
|
||||
@@ -260,7 +260,8 @@
|
|
||||
check hasfunc shmdt |
|
||||
check hasfunc shmget |
|
||||
check hasfunc sigaction |
|
||||
-check hasfunc signbit '.0' 'math.h'
|
|
||||
+# Avoid using signbit only available on build machine:
|
|
||||
+# check hasfunc signbit '.0' 'math.h'
|
|
||||
check hasfunc sigprocmask |
|
||||
check hasfunc sigsetjmp "NULL,0" 'stdlib.h setjmp.h' |
|
||||
check hasfunc snprintf |
|
Loading…
Reference in new issue