diff options
| -rw-r--r-- | meta-oe/recipes-extended/sanlock/sanlock/0001-add-missing-system-header-string.h.patch | 41 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/sanlock/sanlock_3.8.4.bb | 1 |
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 @@ | |||
| 1 | From 272f9838f3495f5e419f77e000762c420754c96d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Fri, 2 Sep 2022 15:57:32 -0700 | ||
| 4 | Subject: [PATCH] add missing system header string.h | ||
| 5 | |||
| 6 | This is needed for mem* function prototypes used in these sources | ||
| 7 | |||
| 8 | Upstream-Status: Submitted [https://pagure.io/sanlock/issue/8] | ||
| 9 | Signed-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 | |||
| 15 | diff --git a/src/sanlock_sock.c b/src/sanlock_sock.c | ||
| 16 | index 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 | |||
| 27 | diff --git a/wdmd/wdmd_sock.c b/wdmd/wdmd_sock.c | ||
| 28 | index 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 | -- | ||
| 40 | 2.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}" | |||
| 16 | SRC_URI = "git://pagure.io/sanlock.git;protocol=http;branch=master \ | 16 | SRC_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 | " |
| 20 | SRCREV = "a181e951376d49a82eef17920c8ebedec80b4823" | 21 | SRCREV = "a181e951376d49a82eef17920c8ebedec80b4823" |
| 21 | 22 | ||
