mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
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 (From OE-Core rev: 5ad4131421193eab1f78ab42ada13977168f7973) 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>
This commit is contained in:
@@ -183,3 +183,16 @@ Index: quota-tools/quot.h
|
|||||||
} du_t;
|
} du_t;
|
||||||
|
|
||||||
#define NDU 60000
|
#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;
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ DEPENDS = "gettext-native e2fsprogs"
|
|||||||
|
|
||||||
inherit autotools-brokensep gettext pkgconfig
|
inherit autotools-brokensep gettext pkgconfig
|
||||||
|
|
||||||
CFLAGS += "-I=${includedir}/tirpc"
|
CFLAGS += "-I${STAGING_INCDIR}/tirpc"
|
||||||
LDFLAGS += "-ltirpc"
|
LDFLAGS += "-ltirpc"
|
||||||
ASNEEDED = ""
|
ASNEEDED = ""
|
||||||
EXTRA_OEMAKE += 'STRIP=""'
|
EXTRA_OEMAKE += 'STRIP=""'
|
||||||
|
|||||||
Reference in New Issue
Block a user