From 3cfe757729ba6be5be422c2b0acca0ee4a03ce19 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 2 Sep 2022 16:05:35 -0700 Subject: sanlock: Add missing prototype for mem* functions Signed-off-by: Khem Raj --- .../0001-add-missing-system-header-string.h.patch | 41 ++++++++++++++++++++++ meta-oe/recipes-extended/sanlock/sanlock_3.8.4.bb | 1 + 2 files changed, 42 insertions(+) create mode 100644 meta-oe/recipes-extended/sanlock/sanlock/0001-add-missing-system-header-string.h.patch (limited to 'meta-oe') diff --git a/meta-oe/recipes-extended/sanlock/sanlock/0001-add-missing-system-header-string.h.patch b/meta-oe/recipes-extended/sanlock/sanlock/0001-add-missing-system-header-string.h.patch new file mode 100644 index 0000000000..5878847113 --- /dev/null +++ b/meta-oe/recipes-extended/sanlock/sanlock/0001-add-missing-system-header-string.h.patch @@ -0,0 +1,41 @@ +From 272f9838f3495f5e419f77e000762c420754c96d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 2 Sep 2022 15:57:32 -0700 +Subject: [PATCH] add missing system header string.h + +This is needed for mem* function prototypes used in these sources + +Upstream-Status: Submitted [https://pagure.io/sanlock/issue/8] +Signed-off-by: Khem Raj +--- + src/sanlock_sock.c | 1 + + wdmd/wdmd_sock.c | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/src/sanlock_sock.c b/src/sanlock_sock.c +index b83f9ae..e206f88 100644 +--- a/src/sanlock_sock.c ++++ b/src/sanlock_sock.c +@@ -12,6 +12,7 @@ + #include + #include + #include ++#include + #include + #include + +diff --git a/wdmd/wdmd_sock.c b/wdmd/wdmd_sock.c +index 45d9d9b..110ce9f 100644 +--- a/wdmd/wdmd_sock.c ++++ b/wdmd/wdmd_sock.c +@@ -12,6 +12,7 @@ + #include + #include + #include ++#include + #include + #include + +-- +2.37.3 + diff --git a/meta-oe/recipes-extended/sanlock/sanlock_3.8.4.bb b/meta-oe/recipes-extended/sanlock/sanlock_3.8.4.bb index a59a5c41df..3b4ae318c6 100644 --- a/meta-oe/recipes-extended/sanlock/sanlock_3.8.4.bb +++ b/meta-oe/recipes-extended/sanlock/sanlock_3.8.4.bb @@ -16,6 +16,7 @@ PV .= "+git${SRCPV}" SRC_URI = "git://pagure.io/sanlock.git;protocol=http;branch=master \ file://0001-sanlock-Replace-cp-a-with-cp-R-no-dereference-preser.patch \ file://setuptools.patch \ + file://0001-add-missing-system-header-string.h.patch \ " SRCREV = "a181e951376d49a82eef17920c8ebedec80b4823" -- cgit v1.2.3-54-g00ecf