summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch27
-rw-r--r--meta/recipes-devtools/unfs3/unfs3_git.bb1
2 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch b/meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch
new file mode 100644
index 0000000000..f18ffd3711
--- /dev/null
+++ b/meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch
@@ -0,0 +1,27 @@
1From 989b87ae46b3183a742031373fbb3e912ab9b666 Mon Sep 17 00:00:00 2001
2From: Andrey Filipenkov <decapitator@ukr.net>
3Date: Wed, 2 Nov 2022 13:38:40 +0300
4Subject: [PATCH] fix building on macOS
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7Upstream-Status: Backport [https://github.com/unfs3/unfs3/commit/989b87ae46b3183a742031373fbb3e912ab9b666]
8---
9 attr.c | 2 ++
10 1 file changed, 2 insertions(+)
11
12diff --git a/attr.c b/attr.c
13index 6253e84..0ce9375 100644
14--- a/attr.c
15+++ b/attr.c
16@@ -18,6 +18,8 @@
17 #include <utime.h>
18 #include <errno.h>
19 #include <dirent.h>
20+#include <stdlib.h>
21+#include <string.h>
22
23 #include "backend.h"
24 #include "nfs.h"
25--
262.39.1
27
diff --git a/meta/recipes-devtools/unfs3/unfs3_git.bb b/meta/recipes-devtools/unfs3/unfs3_git.bb
index be3870b8a4..9913a503e8 100644
--- a/meta/recipes-devtools/unfs3/unfs3_git.bb
+++ b/meta/recipes-devtools/unfs3/unfs3_git.bb
@@ -16,6 +16,7 @@ SRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https;branch=master \
16 file://0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch \ 16 file://0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch \
17 file://0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch \ 17 file://0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch \
18 file://0001-locate.c-Include-attr.h.patch \ 18 file://0001-locate.c-Include-attr.h.patch \
19 file://0001-fix-building-on-macOS.patch \
19 " 20 "
20SRCREV = "c8f2d2cd4529955419bad0e163f88d47ff176b8d" 21SRCREV = "c8f2d2cd4529955419bad0e163f88d47ff176b8d"
21UPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P<pver>\d+(\.\d+)+)" 22UPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P<pver>\d+(\.\d+)+)"