summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libbsd/libbsd/0001-funopen-Replace-off64_t-with-off_t-in-funopen_seek.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libbsd/libbsd/0001-funopen-Replace-off64_t-with-off_t-in-funopen_seek.patch')
-rw-r--r--meta/recipes-support/libbsd/libbsd/0001-funopen-Replace-off64_t-with-off_t-in-funopen_seek.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/meta/recipes-support/libbsd/libbsd/0001-funopen-Replace-off64_t-with-off_t-in-funopen_seek.patch b/meta/recipes-support/libbsd/libbsd/0001-funopen-Replace-off64_t-with-off_t-in-funopen_seek.patch
deleted file mode 100644
index 45ecef041b..0000000000
--- a/meta/recipes-support/libbsd/libbsd/0001-funopen-Replace-off64_t-with-off_t-in-funopen_seek.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 9c4e5f8984e46344c9e150764b8aa0a7a70b6cb5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 15 Dec 2022 09:02:22 -0800
4Subject: [PATCH] funopen: Replace off64_t with off_t in funopen_seek
5
6AC_SYS_LARGEFILE in configure.ac is setting needed defines to make
764bit off_t on relevant platforms.
8
9Fixes build on musl
10
11| ../../../../../../../../workspace/sources/libbsd/src/funopen.c:68:28: error: unknown type name 'off64_t'; did you mean 'off_t'?
12| funopen_seek(void *cookie, off64_t *offset, int whence)
13| ^~~~~~~
14| off_t
15
16Upstream-Status: Submitted [https://gitlab.freedesktop.org/libbsd/libbsd/-/merge_requests/24]
17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18---
19 src/funopen.c | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/src/funopen.c b/src/funopen.c
23index 1e6f43a..a9b40e8 100644
24--- a/src/funopen.c
25+++ b/src/funopen.c
26@@ -65,7 +65,7 @@ funopen_write(void *cookie, const char *buf, size_t size)
27 }
28
29 static int
30-funopen_seek(void *cookie, off64_t *offset, int whence)
31+funopen_seek(void *cookie, off_t *offset, int whence)
32 {
33 struct funopen_cookie *cookiewrap = cookie;
34 off_t soff = *offset;