diff options
| -rw-r--r-- | meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch | 32 | ||||
| -rw-r--r-- | meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb | 1 |
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 @@ | |||
| 1 | From b80d3b573c1dade2b29b22f8acc3b9e2c7ddefd7 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Sat, 20 May 2017 13:36:43 -0700 | ||
| 4 | Subject: [PATCH] include stdint.h for uintptr_t | ||
| 5 | |||
| 6 | Fixes | ||
| 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 | |||
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 12 | --- | ||
| 13 | Upstream-Status: Pending | ||
| 14 | |||
| 15 | src/xdr_sizeof.c | 1 + | ||
| 16 | 1 file changed, 1 insertion(+) | ||
| 17 | |||
| 18 | diff --git a/src/xdr_sizeof.c b/src/xdr_sizeof.c | ||
| 19 | index 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 | -- | ||
| 31 | 2.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 | ||
| 20 | SRC_URI_append_libc-uclibc = " file://remove-des-functionality.patch \ | 21 | SRC_URI_append_libc-uclibc = " file://remove-des-functionality.patch \ |
