summaryrefslogtreecommitdiff
path: root/packages/psmisc/psmisc-21.8/signames-header-fix.patch
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2005-12-16 07:32:16 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-12-16 07:32:16 +0000
commitf54b1a43b0056e4fe847623a8fcf336f8851c538 (patch)
treed0d285a3ee1009b0a705c6547c13dc1cef0185fb /packages/psmisc/psmisc-21.8/signames-header-fix.patch
parent2882df10bb36597d6557c2b295e7754302944297 (diff)
psmisc-21.8: build fix for #521
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 || \