summaryrefslogtreecommitdiff
path: root/shells/pdksh/files/patch-siglist.sh
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2014-02-18 08:44:28 +0000
committerRodrigo Osorio <rodrigo@FreeBSD.org>2014-02-18 08:44:28 +0000
commit66735958b60128f80d469471a2b8e7e19cdd387d (patch)
treece9f6630cff7781e2ad0c318a2d17546decf01f4 /shells/pdksh/files/patch-siglist.sh
parentCorrect graphics/hs-HGL entry. (diff)
Fix ksh after 10.0 by using a posix compliant syntax for sort invocation.
Fix staging PR: ports/181438 Submitted by: Chweigert Udo <Udo.Schweigert@siemens.com> Reviewed by: bapt (mentor)
Notes
Notes: svn path=/head/; revision=344843
Diffstat (limited to 'shells/pdksh/files/patch-siglist.sh')
-rw-r--r--shells/pdksh/files/patch-siglist.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/shells/pdksh/files/patch-siglist.sh b/shells/pdksh/files/patch-siglist.sh
new file mode 100644
index 000000000000..924097af104b
--- /dev/null
+++ b/shells/pdksh/files/patch-siglist.sh
@@ -0,0 +1,11 @@
+--- siglist.sh 2014-02-12 11:26:07.000000000 +0100
++++ siglist.sh 2014-02-12 11:26:22.000000000 +0100
+@@ -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 -k3n -k1n |
+ sed 's/^[0-9]* //' |
+ awk 'BEGIN { last=0; nsigs=0; }
+ {