diff options
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 | 25 |
1 files changed, 14 insertions, 11 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 index d096983837..4639532236 100644 --- a/meta/recipes-core/systemd/systemd/systemd-pam-configure-check-uclibc.patch +++ b/meta/recipes-core/systemd/systemd/systemd-pam-configure-check-uclibc.patch | |||
@@ -1,11 +1,13 @@ | |||
1 | Upstream-Status: Denied [no desire for uclibc support] | 1 | Upstream-Status: Denied [no desire for uclibc support] |
2 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 2 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
3 | 3 | ||
4 | --- systemd-185.orig/configure.ac 2012-06-04 14:15:16.000000000 -0400 | 4 | Index: git/configure.ac |
5 | +++ systemd-pam-185/configure.ac 2012-06-21 22:57:10.000000000 -0400 | 5 | =================================================================== |
6 | @@ -63,6 +63,23 @@ | 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 @@ | ||
7 | 9 | ||
8 | AC_PATH_PROG([M4], [m4]) | 10 | M4_DEFINES= |
9 | 11 | ||
10 | +# check for few functions not implemented in uClibc | 12 | +# check for few functions not implemented in uClibc |
11 | + | 13 | + |
@@ -15,15 +17,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
15 | + | 17 | + |
16 | +AC_MSG_CHECKING([whether %ms format is supported by *scanf]) | 18 | +AC_MSG_CHECKING([whether %ms format is supported by *scanf]) |
17 | + | 19 | + |
18 | +AC_RUN_IFELSE( | 20 | +AC_LINK_IFELSE( |
19 | + [AC_LANG_PROGRAM([[ include <stdio.h> ]], | 21 | + [AC_LANG_PROGRAM([ |
20 | + [[ char *buf1, *buf2, *buf3, str="1 2.3 abcde" ; | 22 | + #include <stdio.h> |
21 | + int rc = sscanf(str, "%ms %ms %ms", &buf1, &buf2, &buf3) ; | 23 | + ],[ |
22 | + return (rc==3)?0:1;]])], | 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;])], | ||
23 | + [AC_DEFINE([HAVE_MSFORMAT], [1], [Define if %ms format is supported by *scanf.])], | 27 | + [AC_DEFINE([HAVE_MSFORMAT], [1], [Define if %ms format is supported by *scanf.])], |
24 | + [AC_MSG_RESULT([no])], | ||
25 | + [AC_MSG_RESULT([no])]) | 28 | + [AC_MSG_RESULT([no])]) |
26 | + | 29 | + |
27 | # gtkdocize greps for '^GTK_DOC_CHECK', so it needs to be on its own line | 30 | # gtkdocize greps for '^GTK_DOC_CHECK', so it needs to be on its own line |
28 | m4_ifdef([GTK_DOC_CHECK], [ | 31 | m4_ifdef([GTK_DOC_CHECK], [ |
29 | GTK_DOC_CHECK([1.18],[--flavour no-tmpl]) | 32 | GTK_DOC_CHECK([1.18],[--flavour no-tmpl])], |