From: Khem Raj Date: Sat, 14 Jan 2023 15:49:20 +0000 (-0800) Subject: unfs3: Fix implicit function declarations of fix_dir_times() X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~1938 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fbc971f09f9c0db97e7a649b243e44c391d20cd6;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git unfs3: Fix implicit function declarations of fix_dir_times() Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-locate.c-Include-attr.h.patch b/meta/recipes-devtools/unfs3/unfs3/0001-locate.c-Include-attr.h.patch new file mode 100644 index 00000000000..076e08fadc7 --- /dev/null +++ b/meta/recipes-devtools/unfs3/unfs3/0001-locate.c-Include-attr.h.patch @@ -0,0 +1,28 @@ +From 63e0785bb379a8f2c41f34f5cd938ca38555e605 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 13 Jan 2023 23:41:01 -0800 +Subject: [PATCH] locate.c: Include attr.h + +Its needed for fix_dir_times() API declarations + +Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/32] +Signed-off-by: Khem Raj +--- + locate.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/locate.c b/locate.c +index 6bbe71f..84e0fe5 100644 +--- a/locate.c ++++ b/locate.c +@@ -27,6 +27,7 @@ + #include "nfs.h" + #include "fh.h" + #include "daemon.h" ++#include "attr.h" + + /* + * these are the brute-force file searching routines that are used +-- +2.39.0 + diff --git a/meta/recipes-devtools/unfs3/unfs3_git.bb b/meta/recipes-devtools/unfs3/unfs3_git.bb index a4701bdb576..be3870b8a44 100644 --- a/meta/recipes-devtools/unfs3/unfs3_git.bb +++ b/meta/recipes-devtools/unfs3/unfs3_git.bb @@ -15,6 +15,7 @@ S = "${WORKDIR}/git" 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 \ " SRCREV = "c8f2d2cd4529955419bad0e163f88d47ff176b8d" UPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P\d+(\.\d+)+)"