summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/quota/quota/fcntl.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-11-20 14:31:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-22 12:26:46 +0000
commit4f84a13a02a4c0f888533d05e7135ca1ec79a329 (patch)
treee362a406e5892cd5d002ce5bbb9668cc1623f9ad /meta/recipes-extended/quota/quota/fcntl.patch
parent008135217286e51e639d23f2d132ed3cb2f5e0af (diff)
downloadpoky-4f84a13a02a4c0f888533d05e7135ca1ec79a329.tar.gz
quota: update 4.06 -> 4.09
(From OE-Core rev: 0e3580c79d21b5ee1ca84e5df0edb4017899d18a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 @@