These enable builds with additional warnings as errors Signed-off-by: Khem Raj <raj.k...@gmail.com> --- .../unfs3/0001-fix-building-on-macOS.patch | 27 +++++++++++++++++++ meta/recipes-devtools/unfs3/unfs3_git.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch
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 @@ +From 989b87ae46b3183a742031373fbb3e912ab9b666 Mon Sep 17 00:00:00 2001 +From: Andrey Filipenkov <decapita...@ukr.net> +Date: Wed, 2 Nov 2022 13:38:40 +0300 +Subject: [PATCH] fix building on macOS + +Signed-off-by: Khem Raj <raj.k...@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 + 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 \ 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+)+)" -- 2.39.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#177111): https://lists.openembedded.org/g/openembedded-core/message/177111 Mute This Topic: https://lists.openembedded.org/mt/96945921/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-