summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/quota/quota/fcntl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/quota/quota/fcntl.patch')
-rw-r--r--meta/recipes-extended/quota/quota/fcntl.patch48
1 files changed, 17 insertions, 31 deletions
diff --git a/meta/recipes-extended/quota/quota/fcntl.patch b/meta/recipes-extended/quota/quota/fcntl.patch
index 2d37971321..51a770ce6e 100644
--- a/meta/recipes-extended/quota/quota/fcntl.patch
+++ b/meta/recipes-extended/quota/quota/fcntl.patch
@@ -9,13 +9,11 @@ Upstream-Status: Pending
9 9
10Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 11
12ndex: quota-tools/quota.h 12diff --git a/quota.h b/quota.h
13=================================================================== 13index 4c21411..d20c217 100644
14Index: quota-tools/quota.h 14--- a/quota.h
15=================================================================== 15+++ b/quota.h
16--- quota-tools.orig/quota.h 16@@ -182,6 +182,6 @@ enum {
17+++ quota-tools/quota.h
18@@ -165,6 +165,6 @@ enum {
19 #endif 17 #endif
20 #endif 18 #endif
21 19
@@ -23,10 +21,10 @@ Index: quota-tools/quota.h
23+long quotactl (int, const char *, qid_t, caddr_t); 21+long quotactl (int, const char *, qid_t, caddr_t);
24 22
25 #endif /* _QUOTA_ */ 23 #endif /* _QUOTA_ */
26Index: quota-tools/quotacheck.c 24diff --git a/quotacheck.c b/quotacheck.c
27=================================================================== 25index 2cdf475..07c18a7 100644
28--- quota-tools.orig/quotacheck.c 26--- a/quotacheck.c
29+++ quota-tools/quotacheck.c 27+++ b/quotacheck.c
30@@ -19,6 +19,7 @@ 28@@ -19,6 +19,7 @@
31 #include <unistd.h> 29 #include <unistd.h>
32 #include <stdlib.h> 30 #include <stdlib.h>
@@ -35,10 +33,10 @@ Index: quota-tools/quotacheck.c
35 33
36 #include <sys/stat.h> 34 #include <sys/stat.h>
37 #include <sys/types.h> 35 #include <sys/types.h>
38Index: quota-tools/quotaio.c 36diff --git a/quotaio.c b/quotaio.c
39=================================================================== 37index 94ae458..d57fc1a 100644
40--- quota-tools.orig/quotaio.c 38--- a/quotaio.c
41+++ quota-tools/quotaio.c 39+++ b/quotaio.c
42@@ -12,6 +12,7 @@ 40@@ -12,6 +12,7 @@
43 #include <string.h> 41 #include <string.h>
44 #include <unistd.h> 42 #include <unistd.h>
@@ -47,22 +45,10 @@ Index: quota-tools/quotaio.c
47 #include <sys/types.h> 45 #include <sys/types.h>
48 #include <sys/stat.h> 46 #include <sys/stat.h>
49 #include <sys/file.h> 47 #include <sys/file.h>
50Index: quota-tools/dqblk_v2.h 48diff --git a/rquota_client.c b/rquota_client.c
51=================================================================== 49index a3a4ae3..0ffe7a9 100644
52--- quota-tools.orig/dqblk_v2.h 50--- a/rquota_client.c
53+++ quota-tools/dqblk_v2.h 51+++ b/rquota_client.c
54@@ -7,6 +7,7 @@
55 #ifndef GUARD_DQBLK_V2_H
56 #define GUARD_DQBLK_V2_H
57
58+#include <fcntl.h>
59 #include <sys/types.h>
60 #include "quota_tree.h"
61
62Index: quota-tools/rquota_client.c
63===================================================================
64--- quota-tools.orig/rquota_client.c
65+++ quota-tools/rquota_client.c
66@@ -19,7 +19,9 @@ 52@@ -19,7 +19,9 @@
67 53
68 #include "config.h" 54 #include "config.h"