summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2004-01-04 17:47:56 +0000
committerSeemant Kulleen <seemant@gentoo.org>2004-01-04 17:47:56 +0000
commitb65332a0e43ef77c776d1bd2be5112f6f108c648 (patch)
tree4ff46c711629f9677b35def41b96a78d214d5167 /app-shells/pdksh/files
parentAdding amd64 keyword to satisfy dependencies (diff)
downloadgentoo-2-b65332a0e43ef77c776d1bd2be5112f6f108c648.tar.gz
gentoo-2-b65332a0e43ef77c776d1bd2be5112f6f108c648.tar.bz2
gentoo-2-b65332a0e43ef77c776d1bd2be5112f6f108c648.zip
patch for new coreutils syntax, thanks to: Stefan Knoblich <stkn@gentoo.org> in bug #31835
Diffstat (limited to 'app-shells/pdksh/files')
-rw-r--r--app-shells/pdksh/files/pdksh-5.2.14-coreutils-posix-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-shells/pdksh/files/pdksh-5.2.14-coreutils-posix-fix.patch b/app-shells/pdksh/files/pdksh-5.2.14-coreutils-posix-fix.patch
new file mode 100644
index 000000000000..63fec06dd824
--- /dev/null
+++ b/app-shells/pdksh/files/pdksh-5.2.14-coreutils-posix-fix.patch
@@ -0,0 +1,11 @@
+--- pdksh-5.2.14-ori/siglist.sh 1996-09-18 18:52:41.000000000 +0200
++++ pdksh-5.2.14/siglist.sh 2003-10-23 20:25:56.000000000 +0200
+@@ -23,7 +23,7 @@
+ { QwErTy SIG\1 , "\1", "\2" },\
+ #endif/') > $in
+ $CPP $in > $out
+-sed -n 's/{ QwErTy/{/p' < $out | awk '{print NR, $0}' | sort +2n +0n |
++sed -n 's/{ QwErTy/{/p' < $out | awk '{print NR, $0}' | sort -n -k 3,3 -k 1,1 |
+ sed 's/^[0-9]* //' |
+ awk 'BEGIN { last=0; nsigs=0; }
+ {