diff options
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-2.16/add_resource_h_to_wait_h.patch | 20 | ||||
-rw-r--r-- | meta/recipes-core/eglibc/eglibc_2.16.bb | 3 |
2 files changed, 22 insertions, 1 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.16/add_resource_h_to_wait_h.patch b/meta/recipes-core/eglibc/eglibc-2.16/add_resource_h_to_wait_h.patch new file mode 100644 index 0000000000..f5023c08d4 --- /dev/null +++ b/meta/recipes-core/eglibc/eglibc-2.16/add_resource_h_to_wait_h.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | The older versions of perf still require sys/resource.h to be | ||
2 | present in this header, the newer version of perf in 3.2 and | ||
3 | beyond directly include sys/resource.h | ||
4 | |||
5 | Upstream-Status: Inapproriate [older kernel/perf specific] | ||
6 | |||
7 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
8 | |||
9 | Index: libc/posix/sys/wait.h | ||
10 | =================================================================== | ||
11 | --- libc.orig/posix/sys/wait.h | ||
12 | +++ libc/posix/sys/wait.h | ||
13 | @@ -28,6 +28,7 @@ | ||
14 | __BEGIN_DECLS | ||
15 | |||
16 | #include <signal.h> | ||
17 | +#include <sys/resource.h> | ||
18 | |||
19 | /* These macros could also be defined in <stdlib.h>. */ | ||
20 | #if !defined _STDLIB_H || (!defined __USE_XOPEN && !defined __USE_XOPEN2K8) | ||
diff --git a/meta/recipes-core/eglibc/eglibc_2.16.bb b/meta/recipes-core/eglibc/eglibc_2.16.bb index 8fa5451dac..f9a8f6da68 100644 --- a/meta/recipes-core/eglibc/eglibc_2.16.bb +++ b/meta/recipes-core/eglibc/eglibc_2.16.bb | |||
@@ -3,7 +3,7 @@ require eglibc.inc | |||
3 | SRCREV = "19383" | 3 | SRCREV = "19383" |
4 | 4 | ||
5 | DEPENDS += "gperf-native" | 5 | DEPENDS += "gperf-native" |
6 | PR = "r3" | 6 | PR = "r4" |
7 | PR_append = "+svnr${SRCPV}" | 7 | PR_append = "+svnr${SRCPV}" |
8 | 8 | ||
9 | EGLIBC_BRANCH="eglibc-2_16" | 9 | EGLIBC_BRANCH="eglibc-2_16" |
@@ -24,6 +24,7 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};protocol=h | |||
24 | file://rpc-bootstrap.patch \ | 24 | file://rpc-bootstrap.patch \ |
25 | file://e500-math_private.patch \ | 25 | file://e500-math_private.patch \ |
26 | file://fileops-without-wchar-io.patch \ | 26 | file://fileops-without-wchar-io.patch \ |
27 | file://add_resource_h_to_wait_h.patch \ | ||
27 | " | 28 | " |
28 | LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \ | 29 | LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \ |
29 | file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \ | 30 | file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \ |