From 29366ea3ed574848cbf5a6fd9012bf53eddb338f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 12 Jun 2017 07:59:04 -0700 Subject: libnsl2: Include stdint.h uintptr_t is defined in stdint.h Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- ...Include-stdint.h-for-uintptr_t-definition.patch | 27 ++++++++++++++++++++++ meta/recipes-extended/libnsl/libnsl2_git.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 meta/recipes-extended/libnsl/libnsl2/0001-nis_call.c-Include-stdint.h-for-uintptr_t-definition.patch (limited to 'meta/recipes-extended/libnsl') 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 @@ +From d71cbeb3b76e54778a4d5eec6d387cce653537ca Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 9 Jun 2017 09:49:35 -0700 +Subject: [PATCH] nis_call.c: Include stdint.h for uintptr_t definition + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + src/nisplus/nis_call.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/nisplus/nis_call.c b/src/nisplus/nis_call.c +index 1a2b90c..1dc982d 100644 +--- a/src/nisplus/nis_call.c ++++ b/src/nisplus/nis_call.c +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + #include + #include + #include +-- +2.13.1 + 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" SRC_URI = "git://github.com/thkukuk/libnsl \ file://0001-include-sys-cdefs.h-explicitly.patch \ file://0002-Define-glibc-specific-macros.patch \ + file://0001-nis_call.c-Include-stdint.h-for-uintptr_t-definition.patch \ " S = "${WORKDIR}/git" -- cgit 1.2.3-korg