[oe-commits] Khem Raj : libnfsidmap: Include sys/types.h for u_int32_t

git at git.openembedded.org git at git.openembedded.org
Tue Apr 21 06:20:56 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 65e30309ac66bdd7785eb3790b91245a9ac5277a
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=65e30309ac66bdd7785eb3790b91245a9ac5277a

Author: Khem Raj <raj.khem at gmail.com>
Date:   Wed Apr 15 19:00:24 2015 -0700

libnfsidmap: Include sys/types.h for u_int32_t

Exposed using musl

Change-Id: Ia155850b3dfe62cd7d10b207b94ff3cc1f0244fc
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 ...clude-sys-types.h-for-getting-u_-typedefs.patch | 27 ++++++++++++++++++++++
 .../Set_nobody_user_group.patch                    |  0
 .../{files => libnfsidmap}/fix-ac-prereq.patch     |  0
 .../nfs-utils/libnfsidmap_0.25.bb                  |  1 +
 4 files changed, 28 insertions(+)

diff --git a/meta/recipes-connectivity/nfs-utils/libnfsidmap/0001-include-sys-types.h-for-getting-u_-typedefs.patch b/meta/recipes-connectivity/nfs-utils/libnfsidmap/0001-include-sys-types.h-for-getting-u_-typedefs.patch
new file mode 100644
index 0000000..4ac5290
--- /dev/null
+++ b/meta/recipes-connectivity/nfs-utils/libnfsidmap/0001-include-sys-types.h-for-getting-u_-typedefs.patch
@@ -0,0 +1,27 @@
+From a5e95a42e7bceddc9ecad06694c1a0588f4bafc8 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem at gmail.com>
+Date: Tue, 14 Apr 2015 07:22:47 -0700
+Subject: [PATCH] include sys/types.h for getting u_* typedefs
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <raj.khem at gmail.com>
+---
+ cfg.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/cfg.h b/cfg.h
+index d4d4cab..fe49e8f 100644
+--- a/cfg.h
++++ b/cfg.h
+@@ -33,6 +33,7 @@
+ #ifndef _CONF_H_
+ #define _CONF_H_
+ 
++#include <sys/types.h>
+ #include "queue.h"
+ 
+ struct conf_list_node {
+-- 
+2.1.4
+
diff --git a/meta/recipes-connectivity/nfs-utils/files/Set_nobody_user_group.patch b/meta/recipes-connectivity/nfs-utils/libnfsidmap/Set_nobody_user_group.patch
similarity index 100%
rename from meta/recipes-connectivity/nfs-utils/files/Set_nobody_user_group.patch
rename to meta/recipes-connectivity/nfs-utils/libnfsidmap/Set_nobody_user_group.patch
diff --git a/meta/recipes-connectivity/nfs-utils/files/fix-ac-prereq.patch b/meta/recipes-connectivity/nfs-utils/libnfsidmap/fix-ac-prereq.patch
similarity index 100%
rename from meta/recipes-connectivity/nfs-utils/files/fix-ac-prereq.patch
rename to meta/recipes-connectivity/nfs-utils/libnfsidmap/fix-ac-prereq.patch
diff --git a/meta/recipes-connectivity/nfs-utils/libnfsidmap_0.25.bb b/meta/recipes-connectivity/nfs-utils/libnfsidmap_0.25.bb
index fcc9e87..5b578e9 100644
--- a/meta/recipes-connectivity/nfs-utils/libnfsidmap_0.25.bb
+++ b/meta/recipes-connectivity/nfs-utils/libnfsidmap_0.25.bb
@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d9c6a2a0ca6017fda7cd905ed2739b37"
 SRC_URI = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/${BPN}-${PV}.tar.gz \
            file://fix-ac-prereq.patch \
            file://Set_nobody_user_group.patch \
+           file://0001-include-sys-types.h-for-getting-u_-typedefs.patch \
           "
 
 SRC_URI[md5sum] = "2ac4893c92716add1a1447ae01df77ab"



More information about the Openembedded-commits mailing list