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.patch27
1 files changed, 13 insertions, 14 deletions
diff --git a/meta/recipes-extended/quota/quota/fcntl.patch b/meta/recipes-extended/quota/quota/fcntl.patch
index 51a770ce6e..09a0c687b6 100644
--- a/meta/recipes-extended/quota/quota/fcntl.patch
+++ b/meta/recipes-extended/quota/quota/fcntl.patch
@@ -1,3 +1,8 @@
1From 00a456145531d194d3993c9f4cd404d5ca16c9df Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 6 Apr 2015 17:36:44 +0000
4Subject: [PATCH] quota: Fix build with musl
5
1Include fcntl.h to pacify compiler errors on musl 6Include fcntl.h to pacify compiler errors on musl
2like 7like
3 8
@@ -9,20 +14,14 @@ Upstream-Status: Pending
9 14
10Signed-off-by: Khem Raj <raj.khem@gmail.com> 15Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 16
12diff --git a/quota.h b/quota.h 17---
13index 4c21411..d20c217 100644 18 quotacheck.c | 1 +
14--- a/quota.h 19 quotaio.c | 1 +
15+++ b/quota.h 20 rquota_client.c | 4 ++++
16@@ -182,6 +182,6 @@ enum { 21 3 files changed, 6 insertions(+)
17 #endif 22
18 #endif
19
20-long quotactl __P((int, const char *, qid_t, caddr_t));
21+long quotactl (int, const char *, qid_t, caddr_t);
22
23 #endif /* _QUOTA_ */
24diff --git a/quotacheck.c b/quotacheck.c 23diff --git a/quotacheck.c b/quotacheck.c
25index 2cdf475..07c18a7 100644 24index bd62d9a..772a27d 100644
26--- a/quotacheck.c 25--- a/quotacheck.c
27+++ b/quotacheck.c 26+++ b/quotacheck.c
28@@ -19,6 +19,7 @@ 27@@ -19,6 +19,7 @@
@@ -46,7 +45,7 @@ index 94ae458..d57fc1a 100644
46 #include <sys/stat.h> 45 #include <sys/stat.h>
47 #include <sys/file.h> 46 #include <sys/file.h>
48diff --git a/rquota_client.c b/rquota_client.c 47diff --git a/rquota_client.c b/rquota_client.c
49index a3a4ae3..0ffe7a9 100644 48index 7f8e821..d48505a 100644
50--- a/rquota_client.c 49--- a/rquota_client.c
51+++ b/rquota_client.c 50+++ b/rquota_client.c
52@@ -19,7 +19,9 @@ 51@@ -19,7 +19,9 @@