summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/quota
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-09-12 17:08:28 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-21 15:39:37 +0100
commit5ad4131421193eab1f78ab42ada13977168f7973 (patch)
tree56601b76fd9c7c6fe9b644c4e23f5bf7d303e814 /meta/recipes-extended/quota
parent0e5829be82351f80f2071a40ba7959363e576489 (diff)
downloadopenembedded-core-5ad4131421193eab1f78ab42ada13977168f7973.tar.gz
openembedded-core-5ad4131421193eab1f78ab42ada13977168f7973.tar.bz2
openembedded-core-5ad4131421193eab1f78ab42ada13977168f7973.zip
quota: Replace using -I= with STAGING_INCDIR
-I= is gcc specific, using STAGING_INCDIR makes it compiler independent Update posix types patch to include new u_int -> uint32_t changes Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-extended/quota')
-rw-r--r--meta/recipes-extended/quota/quota/remove_non_posix_types.patch13
-rw-r--r--meta/recipes-extended/quota/quota_4.02.bb2
2 files changed, 14 insertions, 1 deletions
diff --git a/meta/recipes-extended/quota/quota/remove_non_posix_types.patch b/meta/recipes-extended/quota/quota/remove_non_posix_types.patch
index 5442d9854d..06ff13cb98 100644
--- a/meta/recipes-extended/quota/quota/remove_non_posix_types.patch
+++ b/meta/recipes-extended/quota/quota/remove_non_posix_types.patch
@@ -183,3 +183,16 @@ Index: quota-tools/quot.h
} du_t;
#define NDU 60000
+Index: quota-tools/rquota_server.c
+===================================================================
+--- quota-tools.orig/rquota_server.c
++++ quota-tools/rquota_server.c
+@@ -60,7 +60,7 @@ extern char nfs_pseudoroot[PATH_MAX];
+ */
+ extern struct authunix_parms *unix_cred;
+
+-int in_group(gid_t * gids, u_int len, gid_t gid)
++int in_group(gid_t * gids, uint32_t len, gid_t gid)
+ {
+ gid_t *gidsp = gids + len;
+
diff --git a/meta/recipes-extended/quota/quota_4.02.bb b/meta/recipes-extended/quota/quota_4.02.bb
index 124b0a3691..673d58428a 100644
--- a/meta/recipes-extended/quota/quota_4.02.bb
+++ b/meta/recipes-extended/quota/quota_4.02.bb
@@ -23,7 +23,7 @@ DEPENDS = "gettext-native e2fsprogs"
inherit autotools-brokensep gettext pkgconfig
-CFLAGS += "-I=${includedir}/tirpc"
+CFLAGS += "-I${STAGING_INCDIR}/tirpc"
LDFLAGS += "-ltirpc"
ASNEEDED = ""
EXTRA_OEMAKE += 'STRIP=""'