summaryrefslogtreecommitdiff
path: root/packages/psmisc
diff options
context:
space:
mode:
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