diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-core/systemd/systemd/systemd-pam-configure-check-uclibc.patch | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
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 | 32 |
1 files changed, 32 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..4639532236 --- /dev/null +++ b/meta/recipes-core/systemd/systemd/systemd-pam-configure-check-uclibc.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | Upstream-Status: Denied [no desire for uclibc support] | ||
2 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
3 | |||
4 | Index: git/configure.ac | ||
5 | =================================================================== | ||
6 | --- git.orig/configure.ac 2014-03-15 17:53:51.756340454 -0700 | ||
7 | +++ git/configure.ac 2014-03-15 18:07:34.888355897 -0700 | ||
8 | @@ -78,6 +78,24 @@ | ||
9 | |||
10 | M4_DEFINES= | ||
11 | |||
12 | +# check for few functions not implemented in uClibc | ||
13 | + | ||
14 | +AC_CHECK_FUNCS_ONCE(mkostemp execvpe posix_fallocate) | ||
15 | + | ||
16 | +# check for %ms format support - assume always no if cross compiling | ||
17 | + | ||
18 | +AC_MSG_CHECKING([whether %ms format is supported by *scanf]) | ||
19 | + | ||
20 | +AC_LINK_IFELSE( | ||
21 | + [AC_LANG_PROGRAM([ | ||
22 | + #include <stdio.h> | ||
23 | + ],[ | ||
24 | + char *buf1, *buf2, *buf3, str="1 2.3 abcde" ; | ||
25 | + int rc = sscanf(str, "%ms %ms %ms", &buf1, &buf2, &buf3) ; | ||
26 | + return (rc==3)?0:1;])], | ||
27 | + [AC_DEFINE([HAVE_MSFORMAT], [1], [Define if %ms format is supported by *scanf.])], | ||
28 | + [AC_MSG_RESULT([no])]) | ||
29 | + | ||
30 | # gtkdocize greps for '^GTK_DOC_CHECK', so it needs to be on its own line | ||
31 | m4_ifdef([GTK_DOC_CHECK], [ | ||
32 | GTK_DOC_CHECK([1.18],[--flavour no-tmpl])], | ||