summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-05-21 22:00:41 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-25 23:59:32 +0100
commit86638d1c8a24e93f60a3e030eb301f86bf11fbad (patch)
treed0460c4b5019f287fcfd9212c1985cc9611ea50d /meta/recipes-extended
parent57527e449bbd1faf455029f9e4d471d2cd848583 (diff)
downloadpoky-86638d1c8a24e93f60a3e030eb301f86bf11fbad.tar.gz
libtirpc: Fix build error due to missing stdint.h> include
(From OE-Core rev: c74b925918e02ba0a13c8a30e510a9418f432f8d) 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/0001-include-stdint.h-for-uintptr_t.patch32
-rw-r--r--meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb1
2 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch b/meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch
new file mode 100644
index 0000000000..1fe9833afe
--- /dev/null
+++ b/meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch
@@ -0,0 +1,32 @@
1From b80d3b573c1dade2b29b22f8acc3b9e2c7ddefd7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 20 May 2017 13:36:43 -0700
4Subject: [PATCH] include stdint.h for uintptr_t
5
6Fixes
7| ../../libtirpc-1.0.1/src/xdr_sizeof.c:93:13: error: 'uintptr_t' undeclared (first use in this function); did you mean '__intptr_t'?
8| if (len < (uintptr_t)xdrs->x_base) {
9| ^~~~~~~~~
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13Upstream-Status: Pending
14
15 src/xdr_sizeof.c | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/src/xdr_sizeof.c b/src/xdr_sizeof.c
19index d23fbd1..79d6707 100644
20--- a/src/xdr_sizeof.c
21+++ b/src/xdr_sizeof.c
22@@ -39,6 +39,7 @@
23 #include <rpc/xdr.h>
24 #include <sys/types.h>
25 #include <stdlib.h>
26+#include <stdint.h>
27 #include "un-namespace.h"
28
29 /* ARGSUSED */
30--
312.13.0
32
diff --git a/meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb b/meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb
index 662c8999c2..5518fb3c78 100644
--- a/meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb
+++ b/meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb
@@ -15,6 +15,7 @@ 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 file://export_key_secretkey_is_set.patch \ 16 file://export_key_secretkey_is_set.patch \
17 file://0001-replace-__bzero-with-memset-API.patch \ 17 file://0001-replace-__bzero-with-memset-API.patch \
18 file://0001-include-stdint.h-for-uintptr_t.patch \
18 " 19 "
19 20
20SRC_URI_append_libc-uclibc = " file://remove-des-functionality.patch \ 21SRC_URI_append_libc-uclibc = " file://remove-des-functionality.patch \