summaryrefslogtreecommitdiff
path: root/system/pdksh/patches/043_Debian-siglist.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/pdksh/patches/043_Debian-siglist.patch')
-rw-r--r--system/pdksh/patches/043_Debian-siglist.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/system/pdksh/patches/043_Debian-siglist.patch b/system/pdksh/patches/043_Debian-siglist.patch
deleted file mode 100644
index bd7a9af805..0000000000
--- a/system/pdksh/patches/043_Debian-siglist.patch
+++ /dev/null
@@ -1,23 +0,0 @@
- * siglist.sh: fix sed command line
- * siglist.sh: pass `-' to trap call, fixes FTBFS on sparc.
-Index: pdksh-5.2.14/siglist.sh
-===================================================================
---- pdksh-5.2.14.orig/siglist.sh 2008-04-15 20:46:55.000000000 +0200
-+++ pdksh-5.2.14/siglist.sh 2008-04-15 20:53:20.000000000 +0200
-@@ -16,14 +16,14 @@
- CPP="${1-cc -E}"
-
- # The trap here to make up for a bug in bash (1.14.3(1)) that calls the trap
--(trap $trapsigs;
-+(trap - $trapsigs;
- echo '#include "sh.h"';
- echo ' { QwErTy SIGNALS , "DUMMY" , "hook for number of signals" },';
- sed -e '/^[ ]*#/d' -e 's/^[ ]*\([^ ][^ ]*\)[ ][ ]*\(.*[^ ]\)[ ]*$/#ifdef SIG\1\
- { 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 -k 3n -k 1n |
- sed 's/^[0-9]* //' |
- awk 'BEGIN { last=0; nsigs=0; }
- {