From 5ad4131421193eab1f78ab42ada13977168f7973 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 12 Sep 2015 17:08:28 +0000 Subject: 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 Signed-off-by: Ross Burton --- .../quota/quota/remove_non_posix_types.patch | 13 +++++++++++++ meta/recipes-extended/quota/quota_4.02.bb | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'meta') 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=""' -- cgit 1.2.3-korg