summaryrefslogtreecommitdiff
path: root/packages/psmisc/psmisc-21.8/signames-header-fix.patch
blob: e6f90cb26b98a971551a8eae171bdf3e6b3026b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 || \