diff options
author | Paul Eggert <eggert@twinsun.com> | 2002-02-19 19:03:51 -0800 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-02-20 14:38:14 +0000 |
commit | eade9b7139927966a87970564990ef3670609a0a (patch) | |
tree | b67233eb81a35ac38000eb187def3ff3443e16ac | |
parent | f314eb9f06d076c4d5e6e589600ca3076772b69f (diff) | |
download | perl-eade9b7139927966a87970564990ef3670609a0a.tar.gz |
[ID 20020220.002] Perl 5.7.2 porting patches for POSIX 1003.1-2001 hosts
Message-Id: <200202201103.g1KB3p427665@sic.twinsun.com>
p4raw-id: //depot/perl@14784
-rwxr-xr-x | Configure | 10 | ||||
-rw-r--r-- | Porting/pumpkin.pod | 2 | ||||
-rw-r--r-- | hints/freebsd.sh | 2 | ||||
-rw-r--r-- | hints/irix_6.sh | 2 | ||||
-rw-r--r-- | pod/perlhack.pod | 2 |
5 files changed, 9 insertions, 9 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Wed Feb 20 17:20:07 EET 2002 [metaconfig 3.0 PL70] +# Generated on Wed Feb 20 17:35:55 EET 2002 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <<EOF @@ -1706,7 +1706,7 @@ rm -f .echotmp echo " " if test -f "$rsrc/MANIFEST"; then echo "First let's make sure your kit is complete. Checking..." >&4 - awk '$1 !~ /PACK[A-Z]+/ {print $1}' "$rsrc/MANIFEST" | split -50 + awk '$1 !~ /PACK[A-Z]+/ {print $1}' "$rsrc/MANIFEST" | split rm -f missing tmppwd=`pwd` for filelist in x??; do @@ -4282,7 +4282,7 @@ for thislib in $libswanted; do for thisdir in $libspath; do xxx='' if $test ! -f "$xxx" -a "X$ignore_versioned_solibs" = "X"; then - xxx=`ls $thisdir/lib$thislib.$so.[0-9] 2>/dev/null|tail -1` + xxx=`ls $thisdir/lib$thislib.$so.[0-9] 2>/dev/null|sed -n '$p'` $test -f "$xxx" && eval $libscheck $test -f "$xxx" && libstyle=shared fi @@ -15692,7 +15692,7 @@ $cat >>signal_cmd <<'EOS' set signal if eval $compile_ok; then - $run ./signal$_exe | $sort -n +1 | $uniq | $awk -f signal.awk >signal.lst + $run ./signal$_exe | $sort -n -k 2 | $uniq | $awk -f signal.awk >signal.lst else echo "(I can't seem be able to compile the whole test program)" >&4 echo "(I'll try it in little pieces.)" >&4 @@ -15726,7 +15726,7 @@ EOCP done if $test -s signal.ls1; then $cat signal.nsg signal.ls1 | - $sort -n +1 | $uniq | $awk -f signal.awk >signal.lst + $sort -n -k 2 | $uniq | $awk -f signal.awk >signal.lst fi fi diff --git a/Porting/pumpkin.pod b/Porting/pumpkin.pod index 42f4428673..d1784e46e4 100644 --- a/Porting/pumpkin.pod +++ b/Porting/pumpkin.pod @@ -501,7 +501,7 @@ Don't forget to regenerate perly_c.diff. mv y.tab.c perly.c patch perly.c <perly_c.diff # manually apply any failed hunks - diff -c2 perly.c.orig perly.c >perly_c.diff + diff -c perly.c.orig perly.c >perly_c.diff One chunk of lines that often fails begins with diff --git a/hints/freebsd.sh b/hints/freebsd.sh index 6a105fd170..7ce17351c7 100644 --- a/hints/freebsd.sh +++ b/hints/freebsd.sh @@ -173,7 +173,7 @@ esac cat > UU/usethreads.cbu <<'EOCBU' case "$usethreads" in $define|true|[yY]*) - lc_r=`/sbin/ldconfig -r|grep ':-lc_r'|awk '{print $NF}'|tail -1` + lc_r=`/sbin/ldconfig -r|grep ':-lc_r'|awk '{print $NF}'|sed -n '$p'` case "$osvers" in 0*|1*|2.0*|2.1*) cat <<EOM >&4 I did not know that FreeBSD $osvers supports POSIX threads. diff --git a/hints/irix_6.sh b/hints/irix_6.sh index 61eac6e214..c192a5d40e 100644 --- a/hints/irix_6.sh +++ b/hints/irix_6.sh @@ -95,7 +95,7 @@ case "$cc" in # objects in the library are of the same ABI we are compiling # against. Albert Chin-A-Young <china@thewrittenword.com> libscheck='case "$xxx" in -*.a) /bin/ar p $xxx `/bin/ar t $xxx | /usr/bsd/head -1` >$$.o; +*.a) /bin/ar p $xxx `/bin/ar t $xxx | sed q` >$$.o; case "`/usr/bin/file $$.o`" in *N32*) rm -f $$.o ;; *) rm -f $$.o; xxx=/no/n32$xxx ;; diff --git a/pod/perlhack.pod b/pod/perlhack.pod index c93e230dbc..612b418336 100644 --- a/pod/perlhack.pod +++ b/pod/perlhack.pod @@ -348,7 +348,7 @@ patch directory. It's then up to you to apply these patches, using something like - # last=`ls -rt1 *.gz | tail -1` + # last=`ls -rt1 *.gz | sed -n '$p'` # rsync -avz rsync://ftp.linux.activestate.com/perl-current-diffs/ . # find . -name '*.gz' -newer $last -exec gzcat {} \; >blead.patch # cd ../perl-current |