summaryrefslogtreecommitdiff
path: root/packages/psmisc
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
parent2882df10bb36597d6557c2b295e7754302944297 (diff)
psmisc-21.8: build fix for #521
Diffstat (limited to 'packages/psmisc')
-rw-r--r--packages/psmisc/psmisc-21.8/.mtn2git_empty0
-rw-r--r--packages/psmisc/psmisc-21.8/signames-header-fix.patch12
-rw-r--r--packages/psmisc/psmisc_21.8.bb3
3 files changed, 14 insertions, 1 deletions
diff --git a/packages/psmisc/psmisc-21.8/.mtn2git_empty b/packages/psmisc/psmisc-21.8/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/psmisc/psmisc-21.8/.mtn2git_empty
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 || \
diff --git a/packages/psmisc/psmisc_21.8.bb b/packages/psmisc/psmisc_21.8.bb
index 1a6a10e045..4d10633a3f 100644
--- a/packages/psmisc/psmisc_21.8.bb
+++ b/packages/psmisc/psmisc_21.8.bb
@@ -6,7 +6,8 @@ MAINTAINER = "Greg Gilbert <greg@treke.net>"
DEPENDS = "ncurses"
PR = "r0"
-SRC_URI = "${SOURCEFORGE_MIRROR}/psmisc/psmisc-${PV}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/psmisc/psmisc-${PV}.tar.gz \
+ file://signames-header-fix.patch;patch=1"
S = "${WORKDIR}/psmisc-${PV}"
inherit autotools gettext