summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/nfs-utils
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-05-26 09:15:00 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-03 23:46:06 +0100
commit4418a593dc8ce7600daafad2daf730a2276e8cbe (patch)
tree0096fc45eac27cdd4849e8a2a311e12325e00aea /meta/recipes-connectivity/nfs-utils
parent9a983f0ef9016852182379b224e582cfb2808340 (diff)
downloadpoky-4418a593dc8ce7600daafad2daf730a2276e8cbe.tar.gz
nfs-utils: Fix build error due to missing stdint.h> include
(From OE-Core rev: 8a0af685adb5275dc39ef0cd209d03905d1db067) 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-connectivity/nfs-utils')
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils/0001-include-stdint.h-for-UINT16_MAX-definition.patch27
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils_2.1.1.bb1
2 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-include-stdint.h-for-UINT16_MAX-definition.patch b/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-include-stdint.h-for-UINT16_MAX-definition.patch
new file mode 100644
index 0000000000..235a2c76fc
--- /dev/null
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-include-stdint.h-for-UINT16_MAX-definition.patch
@@ -0,0 +1,27 @@
1From 36b48057bce76dced335d67a2894a420967811c9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 20 May 2017 14:07:53 -0700
4Subject: [PATCH] include stdint.h for UINT16_MAX definition
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8Upstream-Status: Pending
9
10 support/nsm/rpc.c | 1 +
11 1 file changed, 1 insertion(+)
12
13diff --git a/support/nsm/rpc.c b/support/nsm/rpc.c
14index 4e5f40e..d91c6ea 100644
15--- a/support/nsm/rpc.c
16+++ b/support/nsm/rpc.c
17@@ -40,6 +40,7 @@
18
19 #include <time.h>
20 #include <stdbool.h>
21+#include <stdint.h>
22 #include <string.h>
23 #include <unistd.h>
24 #include <fcntl.h>
25--
262.13.0
27
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.1.1.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.1.1.bb
index bdf0efa330..d917c4d713 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.1.1.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.1.1.bb
@@ -31,6 +31,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.x
31 file://nfs-utils-Do-not-pass-CFLAGS-to-gcc-while-building.patch \ 31 file://nfs-utils-Do-not-pass-CFLAGS-to-gcc-while-building.patch \
32 file://nfs-utils-debianize-start-statd.patch \ 32 file://nfs-utils-debianize-start-statd.patch \
33 file://bugfix-adjust-statd-service-name.patch \ 33 file://bugfix-adjust-statd-service-name.patch \
34 file://0001-include-stdint.h-for-UINT16_MAX-definition.patch \
34" 35"
35 36
36SRC_URI[md5sum] = "59dfcb2e6254b129f901f40c86086b13" 37SRC_URI[md5sum] = "59dfcb2e6254b129f901f40c86086b13"