summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-06-12 07:59:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-13 10:46:34 +0100
commit93ddbfd17ddcfb94d3dda9d68dab1e58ea618860 (patch)
tree0334f37e5383c77dc05021e0af3a4ec0e7bd0f43
parentd90102ed2564a644f2f816fc6ccee3378e88ebc6 (diff)
downloadpoky-93ddbfd17ddcfb94d3dda9d68dab1e58ea618860.tar.gz
libnsl2: Include stdint.h
uintptr_t is defined in stdint.h (From OE-Core rev: 29366ea3ed574848cbf5a6fd9012bf53eddb338f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/libnsl/libnsl2/0001-nis_call.c-Include-stdint.h-for-uintptr_t-definition.patch27
-rw-r--r--meta/recipes-extended/libnsl/libnsl2_git.bb1
2 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-extended/libnsl/libnsl2/0001-nis_call.c-Include-stdint.h-for-uintptr_t-definition.patch b/meta/recipes-extended/libnsl/libnsl2/0001-nis_call.c-Include-stdint.h-for-uintptr_t-definition.patch
new file mode 100644
index 0000000000..e9ae517107
--- /dev/null
+++ b/meta/recipes-extended/libnsl/libnsl2/0001-nis_call.c-Include-stdint.h-for-uintptr_t-definition.patch
@@ -0,0 +1,27 @@
1From d71cbeb3b76e54778a4d5eec6d387cce653537ca Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 9 Jun 2017 09:49:35 -0700
4Subject: [PATCH] nis_call.c: Include stdint.h for uintptr_t definition
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8Upstream-Status: Pending
9
10 src/nisplus/nis_call.c | 1 +
11 1 file changed, 1 insertion(+)
12
13diff --git a/src/nisplus/nis_call.c b/src/nisplus/nis_call.c
14index 1a2b90c..1dc982d 100644
15--- a/src/nisplus/nis_call.c
16+++ b/src/nisplus/nis_call.c
17@@ -23,6 +23,7 @@
18 #include <errno.h>
19 #include <fcntl.h>
20 #include <string.h>
21+#include <stdint.h>
22 #include <libintl.h>
23 #include <rpc/rpc.h>
24 #include <rpc/auth.h>
25--
262.13.1
27
diff --git a/meta/recipes-extended/libnsl/libnsl2_git.bb b/meta/recipes-extended/libnsl/libnsl2_git.bb
index 1698f69edb..18e37a1ac9 100644
--- a/meta/recipes-extended/libnsl/libnsl2_git.bb
+++ b/meta/recipes-extended/libnsl/libnsl2_git.bb
@@ -18,6 +18,7 @@ SRCREV = "dfa2f313524aff9243c4d8ce1bace73786478356"
18SRC_URI = "git://github.com/thkukuk/libnsl \ 18SRC_URI = "git://github.com/thkukuk/libnsl \
19 file://0001-include-sys-cdefs.h-explicitly.patch \ 19 file://0001-include-sys-cdefs.h-explicitly.patch \
20 file://0002-Define-glibc-specific-macros.patch \ 20 file://0002-Define-glibc-specific-macros.patch \
21 file://0001-nis_call.c-Include-stdint.h-for-uintptr_t-definition.patch \
21 " 22 "
22 23
23S = "${WORKDIR}/git" 24S = "${WORKDIR}/git"