ndk_patches/stdio.h.patch: add bogus ctermid()
[termux-packages] / packages / perl / Cwd.pm.patch
1 diff -u -r ../perl-5.22.0/dist/PathTools/Cwd.pm ./dist/PathTools/Cwd.pm
2 --- ../perl-5.22.0/dist/PathTools/Cwd.pm 2015-05-13 16:19:29.000000000 -0400
3 +++ ./dist/PathTools/Cwd.pm 2015-08-30 13:34:33.445269291 -0400
4 @@ -168,9 +168,8 @@
5 # so everything works under taint mode.
6 my $pwd_cmd;
7 if($^O ne 'MSWin32') {
8 - foreach my $try ('/bin/pwd',
9 - '/usr/bin/pwd',
10 - '/QOpenSys/bin/pwd', # OS/400 PASE.
11 + foreach my $try ('@TERMUX_PREFIX@/bin/applets/pwd',
12 + '@TERMUX_PREFIX@/bin/pwd'
13 ) {
14 if( -x $try ) {
15 $pwd_cmd = $try;