diff options
author | Radu Moisan <radu.moisan@intel.com> | 2013-01-19 22:47:07 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-20 12:58:55 +0000 |
commit | b8744d5376a9df4ec30120fdc8f39579d34d0545 (patch) | |
tree | 9503d5816da66544969292ddb5ff999e50c1b9a8 /meta/recipes-core/systemd/systemd/systemd-pam-configure-check-uclibc.patch | |
parent | b18886d9b7c913cd463a98d0ef1b3a8a240f5791 (diff) | |
download | poky-b8744d5376a9df4ec30120fdc8f39579d34d0545.tar.gz |
systemd: add systemd recipes
Add systemd recipes and associated support recipes.
Mostly based on meta-oe/meta-systemd, so almost all credit should go to:
Andreas Müller <schnitzeltony@googlemail.com>
Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Holger Hans Peter Freyther <holger@moiji-mobile.com>
Khem Raj <raj.khem@gmail.com>
Koen Kooi <koen@dominion.thruhere.net>
Martin Jansa <Martin.Jansa@gmail.com>
(From OE-Core rev: 6a8a48b4d0d0b9b8d8af46cae11245bcb870bbc3)
Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd/systemd-pam-configure-check-uclibc.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/systemd-pam-configure-check-uclibc.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/systemd-pam-configure-check-uclibc.patch b/meta/recipes-core/systemd/systemd/systemd-pam-configure-check-uclibc.patch new file mode 100644 index 0000000000..1bfc3bdb18 --- /dev/null +++ b/meta/recipes-core/systemd/systemd/systemd-pam-configure-check-uclibc.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | --- systemd-185.orig/configure.ac 2012-06-04 14:15:16.000000000 -0400 | ||
2 | +++ systemd-pam-185/configure.ac 2012-06-21 22:57:10.000000000 -0400 | ||
3 | @@ -63,6 +63,23 @@ | ||
4 | |||
5 | AC_PATH_PROG([M4], [m4]) | ||
6 | |||
7 | +# check for few functions not implemented in uClibc | ||
8 | + | ||
9 | +AC_CHECK_FUNCS_ONCE(mkostemp execvpe posix_fallocate) | ||
10 | + | ||
11 | +# check for %ms format support - assume always no if cross compiling | ||
12 | + | ||
13 | +AC_MSG_CHECKING([whether %ms format is supported by *scanf]) | ||
14 | + | ||
15 | +AC_RUN_IFELSE( | ||
16 | + [AC_LANG_PROGRAM([[ include <stdio.h> ]], | ||
17 | + [[ char *buf1, *buf2, *buf3, str="1 2.3 abcde" ; | ||
18 | + int rc = sscanf(str, "%ms %ms %ms", &buf1, &buf2, &buf3) ; | ||
19 | + return (rc==3)?0:1;]])], | ||
20 | + [AC_DEFINE([HAVE_MSFORMAT], [1], [Define if %ms format is supported by *scanf.])], | ||
21 | + [AC_MSG_RESULT([no])], | ||
22 | + [AC_MSG_RESULT([no])]) | ||
23 | + | ||
24 | # gtkdocize greps for '^GTK_DOC_CHECK', so it needs to be on its own line | ||
25 | m4_ifdef([GTK_DOC_CHECK], [ | ||
26 | GTK_DOC_CHECK([1.18],[--flavour no-tmpl]) | ||