summaryrefslogtreecommitdiff
path: root/packages/psmisc/psmisc-21.8/signames-header-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/psmisc/psmisc-21.8/signames-header-fix.patch')
-rw-r--r--packages/psmisc/psmisc-21.8/signames-header-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/psmisc/psmisc-21.8/signames-header-fix.patch b/packages/psmisc/psmisc-21.8/signames-header-fix.patch
new file mode 100644
index 0000000000..e6f90cb26b
--- /dev/null
+++ b/packages/psmisc/psmisc-21.8/signames-header-fix.patch
@@ -0,0 +1,12 @@
+--- psmisc-21.8/src/Makefile.am.orig 2005-12-11 20:16:42 +0100
++++ psmisc-21.8/src/Makefile.am 2005-12-11 20:16:58 +0100
+@@ -24,8 +24,7 @@
+ signames.h: signames.c Makefile
+ @CPP@ -dM $< |\
+ tr -s '\t ' ' ' | sort -n -k 3 | sed \
+- 's:#define SIG\([A-Z]\+[0-9]*\) \([0-9]\+\) *\(\|/\*.*\)$$:{\
+-\2,"\1" },:p;d' | \
++ 's:#define SIG\([A-Z]\+[0-9]*\) \([0-9]\+\) *\(\|/\*.*\)$$:{ \2,"\1" },:p;d' | \
+ grep -v '[0-9][0-9][0-9]' >signames.h || \
+ { rm -f signames.h; exit 1; }
+ grep '^{ 1,"HUP" },$$' signames.h >/dev/null || \