summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2007-09-30 21:06:08 +0000
committerGraeme Gregory <dp@xora.org.uk>2007-09-30 21:06:08 +0000
commit296a74672e69f22606e38e6949a5d811f75bada6 (patch)
treeb00aecd2467bde9118ed3a34166e3bbdebd1a60c /packages
parentef925687529a6aa4357efe277da42041a1a1793d (diff)
parente038f25a766aff2840a9ec63ede6b722cdaff865 (diff)
merge of '7ae9cf78cba04ee2ea4f44d82146b9cc9fbbd4b2'
and 'fa850c805eca306aba96aedcbfface81cfd404d8'
Diffstat (limited to 'packages')
-rw-r--r--packages/procps/procps-3.2.7/linux-limits.patch13
-rw-r--r--packages/procps/procps_3.2.7.bb3
2 files changed, 15 insertions, 1 deletions
diff --git a/packages/procps/procps-3.2.7/linux-limits.patch b/packages/procps/procps-3.2.7/linux-limits.patch
new file mode 100644
index 0000000000..dcd66163ad
--- /dev/null
+++ b/packages/procps/procps-3.2.7/linux-limits.patch
@@ -0,0 +1,13 @@
+diff --git a/pwdx.c b/pwdx.c
+index cb96a52..29ebce2 100644
+--- a/pwdx.c
++++ b/pwdx.c
+@@ -13,7 +13,7 @@
+ #include <stdlib.h>
+ #include <sys/types.h>
+ #include <regex.h>
+-#include <limits.h>
++#include <linux/limits.h>
+ #include <unistd.h>
+ #include <errno.h>
+
diff --git a/packages/procps/procps_3.2.7.bb b/packages/procps/procps_3.2.7.bb
index de7524b2cb..e6a6573635 100644
--- a/packages/procps/procps_3.2.7.bb
+++ b/packages/procps/procps_3.2.7.bb
@@ -3,7 +3,8 @@ require procps.inc
PR = "r5"
SRC_URI += "file://procmodule.patch;patch=1 \
- file://psmodule.patch;patch=1"
+ file://psmodule.patch;patch=1 \
+ file://linux-limits.patch;patch=1"
FILES = "${bindir}/top.${PN} ${base_bindir}/ps.${PN} ${bindir}/uptime.${PN} ${base_bindir}/kill.${PN} \
${bindir}/free.${PN} ${bindir}/w ${bindir}/watch ${bindir}/pgrep ${bindir}/pmap ${bindir}/pwdx \