summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-extended/sanlock/sanlock/0001-add-missing-system-header-string.h.patch41
-rw-r--r--meta-oe/recipes-extended/sanlock/sanlock_3.8.4.bb1
2 files changed, 42 insertions, 0 deletions
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 @@
1From 272f9838f3495f5e419f77e000762c420754c96d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 2 Sep 2022 15:57:32 -0700
4Subject: [PATCH] add missing system header string.h
5
6This is needed for mem* function prototypes used in these sources
7
8Upstream-Status: Submitted [https://pagure.io/sanlock/issue/8]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 src/sanlock_sock.c | 1 +
12 wdmd/wdmd_sock.c | 1 +
13 2 files changed, 2 insertions(+)
14
15diff --git a/src/sanlock_sock.c b/src/sanlock_sock.c
16index b83f9ae..e206f88 100644
17--- a/src/sanlock_sock.c
18+++ b/src/sanlock_sock.c
19@@ -12,6 +12,7 @@
20 #include <stdio.h>
21 #include <stdint.h>
22 #include <stddef.h>
23+#include <string.h>
24 #include <sys/socket.h>
25 #include <sys/un.h>
26
27diff --git a/wdmd/wdmd_sock.c b/wdmd/wdmd_sock.c
28index 45d9d9b..110ce9f 100644
29--- a/wdmd/wdmd_sock.c
30+++ b/wdmd/wdmd_sock.c
31@@ -12,6 +12,7 @@
32 #include <stdio.h>
33 #include <stdint.h>
34 #include <stddef.h>
35+#include <string.h>
36 #include <sys/socket.h>
37 #include <sys/un.h>
38
39--
402.37.3
41
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}"
16SRC_URI = "git://pagure.io/sanlock.git;protocol=http;branch=master \ 16SRC_URI = "git://pagure.io/sanlock.git;protocol=http;branch=master \
17 file://0001-sanlock-Replace-cp-a-with-cp-R-no-dereference-preser.patch \ 17 file://0001-sanlock-Replace-cp-a-with-cp-R-no-dereference-preser.patch \
18 file://setuptools.patch \ 18 file://setuptools.patch \
19 file://0001-add-missing-system-header-string.h.patch \
19 " 20 "
20SRCREV = "a181e951376d49a82eef17920c8ebedec80b4823" 21SRCREV = "a181e951376d49a82eef17920c8ebedec80b4823"
21 22