diff options
author | Paul Barker <paul@paulbarker.me.uk> | 2014-08-20 10:14:03 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-23 09:26:09 +0100 |
commit | 0c6c0b655536d9ed64074a7664999b9deaa63aa1 (patch) | |
tree | 84c116c13b372288cc015037827052dc4b5974f2 /meta/recipes-extended | |
parent | 50fbf19a939b720ffae7a946ef03177df07179e4 (diff) | |
download | poky-0c6c0b655536d9ed64074a7664999b9deaa63aa1.tar.gz |
procps: Fix musl build failure
This is a simple fix, <limits.h> just needs to be included before PATH_MAX is
used.
(From OE-Core rev: 7825fb5cec8c588fce1afa34388381670763b6a1)
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/procps/procps-3.2.8/0001-Fix-musl-build-failure.patch | 29 | ||||
-rw-r--r-- | meta/recipes-extended/procps/procps_3.2.8.bb | 1 |
2 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-extended/procps/procps-3.2.8/0001-Fix-musl-build-failure.patch b/meta/recipes-extended/procps/procps-3.2.8/0001-Fix-musl-build-failure.patch new file mode 100644 index 0000000000..71dc3f07e4 --- /dev/null +++ b/meta/recipes-extended/procps/procps-3.2.8/0001-Fix-musl-build-failure.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 6f2fd55ef7621fd7ab7897aee2c2651b6faf9e6a Mon Sep 17 00:00:00 2001 | ||
2 | From: Paul Barker <paul@paulbarker.me.uk> | ||
3 | Date: Wed, 20 Aug 2014 11:56:11 +0200 | ||
4 | Subject: [PATCH] Fix musl build failure | ||
5 | |||
6 | Include <limits.h> for PATH_MAX. | ||
7 | |||
8 | Signed-off-by: Paul Barker <paul@paulbarker.me.uk> | ||
9 | |||
10 | Upstream-status: Pending | ||
11 | --- | ||
12 | proc/readproc.c | 1 + | ||
13 | 1 file changed, 1 insertion(+) | ||
14 | |||
15 | diff --git a/proc/readproc.c b/proc/readproc.c | ||
16 | index 4fad11d..c5b1869 100644 | ||
17 | --- a/proc/readproc.c | ||
18 | +++ b/proc/readproc.c | ||
19 | @@ -26,6 +26,7 @@ | ||
20 | #include <sys/dir.h> | ||
21 | #include <sys/types.h> | ||
22 | #include <sys/stat.h> | ||
23 | +#include <limits.h> | ||
24 | |||
25 | // sometimes it's easier to do this manually, w/o gcc helping | ||
26 | #ifdef PROF | ||
27 | -- | ||
28 | 1.9.1 | ||
29 | |||
diff --git a/meta/recipes-extended/procps/procps_3.2.8.bb b/meta/recipes-extended/procps/procps_3.2.8.bb index b314bfe33c..6211a7c955 100644 --- a/meta/recipes-extended/procps/procps_3.2.8.bb +++ b/meta/recipes-extended/procps/procps_3.2.8.bb | |||
@@ -12,6 +12,7 @@ SRC_URI += "file://procmodule.patch \ | |||
12 | file://procps-3.2.7-top-remcpu.patch \ | 12 | file://procps-3.2.7-top-remcpu.patch \ |
13 | file://procps-3.2.8-ps-cgroup.patch \ | 13 | file://procps-3.2.8-ps-cgroup.patch \ |
14 | file://detect_bitness.patch \ | 14 | file://detect_bitness.patch \ |
15 | file://0001-Fix-musl-build-failure.patch \ | ||
15 | " | 16 | " |
16 | 17 | ||
17 | SRC_URI[md5sum] = "9532714b6846013ca9898984ba4cd7e0" | 18 | SRC_URI[md5sum] = "9532714b6846013ca9898984ba4cd7e0" |