diff options
| -rw-r--r-- | meta/recipes-extended/quota/quota/remove_non_posix_types.patch | 13 | ||||
| -rw-r--r-- | meta/recipes-extended/quota/quota_4.02.bb | 2 |
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 | |||
| 183 | } du_t; | 183 | } du_t; |
| 184 | 184 | ||
| 185 | #define NDU 60000 | 185 | #define NDU 60000 |
| 186 | Index: quota-tools/rquota_server.c | ||
| 187 | =================================================================== | ||
| 188 | --- quota-tools.orig/rquota_server.c | ||
| 189 | +++ quota-tools/rquota_server.c | ||
| 190 | @@ -60,7 +60,7 @@ extern char nfs_pseudoroot[PATH_MAX]; | ||
| 191 | */ | ||
| 192 | extern struct authunix_parms *unix_cred; | ||
| 193 | |||
| 194 | -int in_group(gid_t * gids, u_int len, gid_t gid) | ||
| 195 | +int in_group(gid_t * gids, uint32_t len, gid_t gid) | ||
| 196 | { | ||
| 197 | gid_t *gidsp = gids + len; | ||
| 198 | |||
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" | |||
| 23 | 23 | ||
| 24 | inherit autotools-brokensep gettext pkgconfig | 24 | inherit autotools-brokensep gettext pkgconfig |
| 25 | 25 | ||
| 26 | CFLAGS += "-I=${includedir}/tirpc" | 26 | CFLAGS += "-I${STAGING_INCDIR}/tirpc" |
| 27 | LDFLAGS += "-ltirpc" | 27 | LDFLAGS += "-ltirpc" |
| 28 | ASNEEDED = "" | 28 | ASNEEDED = "" |
| 29 | EXTRA_OEMAKE += 'STRIP=""' | 29 | EXTRA_OEMAKE += 'STRIP=""' |
