summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0004-configure-Check-for-additional-features-that-uclibc-.patch
diff options
context:
space:
mode:
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-.patch23
1 files changed, 10 insertions, 13 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
index dddb7da690..8078da9bb4 100644
--- 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
@@ -14,13 +14,13 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 configure.ac | 18 ++++++++++++++++++ 14 configure.ac | 18 ++++++++++++++++++
15 1 file changed, 18 insertions(+) 15 1 file changed, 18 insertions(+)
16 16
17diff --git a/configure.ac b/configure.ac 17Index: git/configure.ac
18index 9a2235b..a5b2e6e 100644 18===================================================================
19--- a/configure.ac 19--- git.orig/configure.ac
20+++ b/configure.ac 20+++ git/configure.ac
21@@ -103,6 +103,24 @@ AS_IF([! ln --relative --help > /dev/null 2>&1], [AC_MSG_ERROR([*** ln doesn't s 21@@ -110,6 +110,24 @@ AC_PATH_PROG([UMOUNT_PATH], [umount], [/
22 22
23 M4_DEFINES= 23 AS_IF([! ln --relative --help > /dev/null 2>&1], [AC_MSG_ERROR([*** ln doesn't support --relative ***])])
24 24
25+# check for few functions not implemented in uClibc 25+# check for few functions not implemented in uClibc
26+ 26+
@@ -31,7 +31,7 @@ index 9a2235b..a5b2e6e 100644
31+AC_MSG_CHECKING([whether %ms format is supported by *scanf]) 31+AC_MSG_CHECKING([whether %ms format is supported by *scanf])
32+ 32+
33+AC_LINK_IFELSE( 33+AC_LINK_IFELSE(
34+ [AC_LANG_PROGRAM([ 34+ [AC_LANG_PROGRAM([
35+ #include <stdio.h> 35+ #include <stdio.h>
36+ ],[ 36+ ],[
37+ char *buf1, *buf2, *buf3, str="1 2.3 abcde" ; 37+ char *buf1, *buf2, *buf3, str="1 2.3 abcde" ;
@@ -40,9 +40,6 @@ index 9a2235b..a5b2e6e 100644
40+ [AC_DEFINE([HAVE_MSFORMAT], [1], [Define if %ms format is supported by *scanf.])], 40+ [AC_DEFINE([HAVE_MSFORMAT], [1], [Define if %ms format is supported by *scanf.])],
41+ [AC_MSG_RESULT([no])]) 41+ [AC_MSG_RESULT([no])])
42+ 42+
43 # gtkdocize greps for '^GTK_DOC_CHECK', so it needs to be on its own line 43 M4_DEFINES=
44 m4_ifdef([GTK_DOC_CHECK], [ 44
45 GTK_DOC_CHECK([1.18],[--flavour no-tmpl])], 45 AC_CHECK_TOOL(OBJCOPY, objcopy)
46--
472.1.4
48