diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-02-25 02:55:57 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-27 07:36:32 +0000 |
commit | 7ce7756adfce50ba12be319b1f087f31064376b8 (patch) | |
tree | 7b3711747179173aec5a9f63359f47daeadb7657 /meta/recipes-core/systemd/systemd/0004-configure-Check-for-additional-features-that-uclibc-.patch | |
parent | 3af8d90203e76dc900ea10e3e81d158203ee96c8 (diff) | |
download | poky-7ce7756adfce50ba12be319b1f087f31064376b8.tar.gz |
systemd: Upgrade 218 -> 219
219 has been in the docks for sometime, the older patch got merged
this patch is now upgrading 218 to 219
Make all patches using git
Change-Id: Ib0350144592aba26cad56c13c9a5522515915c58
(From OE-Core rev: 041570e584b98b580cc75f9ee23372da74a84377)
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/0004-configure-Check-for-additional-features-that-uclibc-.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0004-configure-Check-for-additional-features-that-uclibc-.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/0004-configure-Check-for-additional-features-that-uclibc-.patch b/meta/recipes-core/systemd/systemd/0004-configure-Check-for-additional-features-that-uclibc-.patch new file mode 100644 index 0000000000..dddb7da690 --- /dev/null +++ b/meta/recipes-core/systemd/systemd/0004-configure-Check-for-additional-features-that-uclibc-.patch | |||
@@ -0,0 +1,48 @@ | |||
1 | From 4e2e8dbf3f23ab7dca32286cc0f37bff6ac49e22 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 20 Feb 2015 05:05:45 +0000 | ||
4 | Subject: [PATCH 04/11] configure: Check for additional features that uclibc | ||
5 | doesnt support | ||
6 | |||
7 | This helps in supporting uclibc which does not have all features that | ||
8 | glibc might have | ||
9 | |||
10 | Upstream-Status: Denied [no desire for uclibc support] | ||
11 | |||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | --- | ||
14 | configure.ac | 18 ++++++++++++++++++ | ||
15 | 1 file changed, 18 insertions(+) | ||
16 | |||
17 | diff --git a/configure.ac b/configure.ac | ||
18 | index 9a2235b..a5b2e6e 100644 | ||
19 | --- a/configure.ac | ||
20 | +++ b/configure.ac | ||
21 | @@ -103,6 +103,24 @@ AS_IF([! ln --relative --help > /dev/null 2>&1], [AC_MSG_ERROR([*** ln doesn't s | ||
22 | |||
23 | M4_DEFINES= | ||
24 | |||
25 | +# check for few functions not implemented in uClibc | ||
26 | + | ||
27 | +AC_CHECK_FUNCS_ONCE(mkostemp execvpe posix_fallocate) | ||
28 | + | ||
29 | +# check for %ms format support - assume always no if cross compiling | ||
30 | + | ||
31 | +AC_MSG_CHECKING([whether %ms format is supported by *scanf]) | ||
32 | + | ||
33 | +AC_LINK_IFELSE( | ||
34 | + [AC_LANG_PROGRAM([ | ||
35 | + #include <stdio.h> | ||
36 | + ],[ | ||
37 | + char *buf1, *buf2, *buf3, str="1 2.3 abcde" ; | ||
38 | + int rc = sscanf(str, "%ms %ms %ms", &buf1, &buf2, &buf3) ; | ||
39 | + return (rc==3)?0:1;])], | ||
40 | + [AC_DEFINE([HAVE_MSFORMAT], [1], [Define if %ms format is supported by *scanf.])], | ||
41 | + [AC_MSG_RESULT([no])]) | ||
42 | + | ||
43 | # gtkdocize greps for '^GTK_DOC_CHECK', so it needs to be on its own line | ||
44 | m4_ifdef([GTK_DOC_CHECK], [ | ||
45 | GTK_DOC_CHECK([1.18],[--flavour no-tmpl])], | ||
46 | -- | ||
47 | 2.1.4 | ||
48 | |||