Fredrik Fornwall
10 years ago
3 changed files with 45 additions and 16 deletions
@ -1,15 +1,15 @@ |
|||||
diff -u -r ../perl-5.20.2/dist/PathTools/Cwd.pm ./dist/PathTools/Cwd.pm
|
diff -u -r ../perl-5.22.0/dist/PathTools/Cwd.pm ./dist/PathTools/Cwd.pm
|
||||
--- ../perl-5.20.2/dist/PathTools/Cwd.pm 2015-01-10 07:06:37.000000000 -0500
|
--- ../perl-5.22.0/dist/PathTools/Cwd.pm 2015-05-13 16:19:29.000000000 -0400
|
||||
+++ ./dist/PathTools/Cwd.pm 2015-05-17 19:40:53.224454256 -0400
|
+++ ./dist/PathTools/Cwd.pm 2015-08-30 13:34:33.445269291 -0400
|
||||
@@ -333,9 +333,8 @@
|
@@ -168,9 +168,8 @@
|
||||
# are safe. This prevents _backtick_pwd() consulting $ENV{PATH} |
|
||||
# so everything works under taint mode. |
# so everything works under taint mode. |
||||
my $pwd_cmd; |
my $pwd_cmd; |
||||
|
if($^O ne 'MSWin32') { |
||||
- foreach my $try ('/bin/pwd',
|
- foreach my $try ('/bin/pwd',
|
||||
- '/usr/bin/pwd',
|
- '/usr/bin/pwd',
|
||||
- '/QOpenSys/bin/pwd', # OS/400 PASE.
|
- '/QOpenSys/bin/pwd', # OS/400 PASE.
|
||||
+foreach my $try ('@TERMUX_PREFIX@/bin/pwd',
|
+ foreach my $try ('@TERMUX_PREFIX@/bin/applets/pwd',
|
||||
+ '@TERMUX_PREFIX@/bin/applets/pwd'
|
+ '@TERMUX_PREFIX@/bin/pwd'
|
||||
) { |
) { |
||||
|
|
||||
if( -x $try ) { |
if( -x $try ) { |
||||
|
$pwd_cmd = $try; |
||||
|
@ -0,0 +1,13 @@ |
|||||
|
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