mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
unfs3: Add missing header files
These enable builds with additional warnings as errors (From OE-Core rev: 2a04a5d5b732107316e0dd22fd59bf67b2e3572d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
From 989b87ae46b3183a742031373fbb3e912ab9b666 Mon Sep 17 00:00:00 2001
|
||||
From: Andrey Filipenkov <decapitator@ukr.net>
|
||||
Date: Wed, 2 Nov 2022 13:38:40 +0300
|
||||
Subject: [PATCH] fix building on macOS
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Upstream-Status: Backport [https://github.com/unfs3/unfs3/commit/989b87ae46b3183a742031373fbb3e912ab9b666]
|
||||
---
|
||||
attr.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/attr.c b/attr.c
|
||||
index 6253e84..0ce9375 100644
|
||||
--- a/attr.c
|
||||
+++ b/attr.c
|
||||
@@ -18,6 +18,8 @@
|
||||
#include <utime.h>
|
||||
#include <errno.h>
|
||||
#include <dirent.h>
|
||||
+#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
|
||||
#include "backend.h"
|
||||
#include "nfs.h"
|
||||
--
|
||||
2.39.1
|
||||
|
||||
@@ -16,6 +16,7 @@ SRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https;branch=master \
|
||||
file://0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch \
|
||||
file://0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch \
|
||||
file://0001-locate.c-Include-attr.h.patch \
|
||||
file://0001-fix-building-on-macOS.patch \
|
||||
"
|
||||
SRCREV = "c8f2d2cd4529955419bad0e163f88d47ff176b8d"
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P<pver>\d+(\.\d+)+)"
|
||||
|
||||
Reference in New Issue
Block a user