diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-10-16 00:47:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-27 07:24:26 +0000 |
commit | 40911f4fa04f71c8305e05a99abde9acba68e37f (patch) | |
tree | 49478d942845c9f219ce4c5a2dc88ba4cb176b6b /meta/recipes-extended | |
parent | d90d3e88e9d3a136a767ef9a351e92c89f3547fe (diff) | |
download | poky-40911f4fa04f71c8305e05a99abde9acba68e37f.tar.gz |
libtirpc: Fix a bug exposed by uclibc
to have va_list we need to include stdarg.h no matter what
but it was latent since with glibc it was getting pull in silently
via other headers
Change-Id: Ie5f1af4c1374fa525647fcb3ae936ec525a99da1
(From OE-Core rev: b37b0f1ffd7e63484136b3715bfdf3a9c5e45f73)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/libtirpc/libtirpc/va_list.patch | 18 | ||||
-rw-r--r-- | meta/recipes-extended/libtirpc/libtirpc_0.2.5.bb | 4 |
2 files changed, 21 insertions, 1 deletions
diff --git a/meta/recipes-extended/libtirpc/libtirpc/va_list.patch b/meta/recipes-extended/libtirpc/libtirpc/va_list.patch new file mode 100644 index 0000000000..855d15b581 --- /dev/null +++ b/meta/recipes-extended/libtirpc/libtirpc/va_list.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | This patch is fixing build with uclibc where compiler ( gcc5 ) says it cant find va_list | ||
2 | the patch is right for upstreaming as well | ||
3 | |||
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | Upstream-Status: Pending | ||
6 | |||
7 | Index: libtirpc-0.2.5/src/debug.h | ||
8 | =================================================================== | ||
9 | --- libtirpc-0.2.5.orig/src/debug.h | ||
10 | +++ libtirpc-0.2.5/src/debug.h | ||
11 | @@ -22,6 +22,7 @@ | ||
12 | #ifndef _DEBUG_H | ||
13 | #define _DEBUG_H | ||
14 | #include <syslog.h> | ||
15 | +#include <stdarg.h> | ||
16 | |||
17 | extern int libtirpc_debug_level; | ||
18 | extern int log_stderr; | ||
diff --git a/meta/recipes-extended/libtirpc/libtirpc_0.2.5.bb b/meta/recipes-extended/libtirpc/libtirpc_0.2.5.bb index 3edf002497..330b829911 100644 --- a/meta/recipes-extended/libtirpc/libtirpc_0.2.5.bb +++ b/meta/recipes-extended/libtirpc/libtirpc_0.2.5.bb | |||
@@ -15,7 +15,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2;name=libtirpc \ | |||
15 | file://libtirpc-0.2.1-fortify.patch \ | 15 | file://libtirpc-0.2.1-fortify.patch \ |
16 | " | 16 | " |
17 | 17 | ||
18 | SRC_URI_append_libc-uclibc = " file://remove-des-uclibc.patch" | 18 | SRC_URI_append_libc-uclibc = " file://remove-des-uclibc.patch \ |
19 | file://va_list.patch \ | ||
20 | " | ||
19 | 21 | ||
20 | SRC_URI[libtirpc.md5sum] = "8cd41a5ef5a9b50d0fb6abb98af15368" | 22 | SRC_URI[libtirpc.md5sum] = "8cd41a5ef5a9b50d0fb6abb98af15368" |
21 | SRC_URI[libtirpc.sha256sum] = "62f9de7c2c8686c568757730e1fef66502a0e00d6cacf33546d0267984e002db" | 23 | SRC_URI[libtirpc.sha256sum] = "62f9de7c2c8686c568757730e1fef66502a0e00d6cacf33546d0267984e002db" |