diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-03-15 22:42:32 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-19 14:19:07 +0000 |
commit | 2c1047310970d3074f15fd20c8ccd58ba916a52f (patch) | |
tree | 3b64ea6ebdfaaa712829cf29d70b901bb496bb15 /meta/recipes-core/systemd/systemd/uclibc-sysinfo_h.patch | |
parent | ac4ff568f5b2ad4f50a1b7b60797e7b797c314bb (diff) | |
download | poky-2c1047310970d3074f15fd20c8ccd58ba916a52f.tar.gz |
Upgrade to systemd 211+
Fixes [YOCTO #5940]
Fix checks for %ms format to be a link time check
runtime checks wont work in cross compiling
Add a patch to workaround missing _SC_PHYS_PAGES
in uclibc
(From OE-Core rev: 0f5256d4ae5ed88c62e737e3c31587d7635b5dd6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd/uclibc-sysinfo_h.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/uclibc-sysinfo_h.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/uclibc-sysinfo_h.patch b/meta/recipes-core/systemd/systemd/uclibc-sysinfo_h.patch new file mode 100644 index 0000000000..15645dee11 --- /dev/null +++ b/meta/recipes-core/systemd/systemd/uclibc-sysinfo_h.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Dont include sys/sysinfo.h on uclibc it conflicts with linux/sysinfo.h | ||
2 | |||
3 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
4 | Upstream-Status: Inappropriate [uclibc specific] | ||
5 | |||
6 | Index: systemd-209/src/readahead/readahead-common.c | ||
7 | =================================================================== | ||
8 | --- systemd-209.orig/src/readahead/readahead-common.c 2014-02-12 18:42:33.810685053 -0800 | ||
9 | +++ systemd-209/src/readahead/readahead-common.c 2014-02-19 23:49:31.856661142 -0800 | ||
10 | @@ -22,7 +22,9 @@ | ||
11 | #include <errno.h> | ||
12 | #include <stdlib.h> | ||
13 | #include <string.h> | ||
14 | +#ifndef __UCLIBC__ | ||
15 | #include <sys/sysinfo.h> | ||
16 | +#endif | ||
17 | #include <sys/inotify.h> | ||
18 | #include <fcntl.h> | ||
19 | #include <sys/mman.h> | ||