diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-04-22 17:15:45 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-04-23 15:15:34 -0700 |
| commit | 76964620a7af2a6f6209791ac7af17df8356c117 (patch) | |
| tree | d5eeef867a1cb71634eae296b892d91f52bccbfe | |
| parent | 031d742ef1f4bb5fdb7e7410275c2b4a641d9a31 (diff) | |
| download | meta-openembedded-76964620a7af2a6f6209791ac7af17df8356c117.tar.gz | |
sanlock: upgrade 3.9.1 -> 3.9.2
0001-include-libgen.h-for-basename.patch
removed since it's included in 3.9.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-extended/sanlock/sanlock/0001-include-libgen.h-for-basename.patch | 32 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/sanlock/sanlock_3.9.2.bb (renamed from meta-oe/recipes-extended/sanlock/sanlock_3.9.1.bb) | 5 |
2 files changed, 2 insertions, 35 deletions
diff --git a/meta-oe/recipes-extended/sanlock/sanlock/0001-include-libgen.h-for-basename.patch b/meta-oe/recipes-extended/sanlock/sanlock/0001-include-libgen.h-for-basename.patch deleted file mode 100644 index 439ffc6473..0000000000 --- a/meta-oe/recipes-extended/sanlock/sanlock/0001-include-libgen.h-for-basename.patch +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | From c955ac2a4d57f21351e53a5209346fdc2325a747 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 25 Mar 2024 15:12:02 -0700 | ||
| 4 | Subject: [PATCH] include libgen.h for basename | ||
| 5 | |||
| 6 | basename prototype has been removed from string.h from latest musl [1] | ||
| 7 | compilers e.g. clang-18 flags the absense of prototype as error. therefore | ||
| 8 | include libgen.h for providing it. | ||
| 9 | |||
| 10 | [1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7 | ||
| 11 | |||
| 12 | Upstream-Status: Pending | ||
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 14 | --- | ||
| 15 | wdmd/main.c | 1 + | ||
| 16 | 1 file changed, 1 insertion(+) | ||
| 17 | |||
| 18 | diff --git a/wdmd/main.c b/wdmd/main.c | ||
| 19 | index 38a99f3..7014462 100644 | ||
| 20 | --- a/wdmd/main.c | ||
| 21 | +++ b/wdmd/main.c | ||
| 22 | @@ -15,6 +15,7 @@ | ||
| 23 | #include <stddef.h> | ||
| 24 | #include <grp.h> | ||
| 25 | #include <fcntl.h> | ||
| 26 | +#include <libgen.h> | ||
| 27 | #include <string.h> | ||
| 28 | #include <errno.h> | ||
| 29 | #include <limits.h> | ||
| 30 | -- | ||
| 31 | 2.44.0 | ||
| 32 | |||
diff --git a/meta-oe/recipes-extended/sanlock/sanlock_3.9.1.bb b/meta-oe/recipes-extended/sanlock/sanlock_3.9.2.bb index 1d0f8b0103..d369af1c6a 100644 --- a/meta-oe/recipes-extended/sanlock/sanlock_3.9.1.bb +++ b/meta-oe/recipes-extended/sanlock/sanlock_3.9.2.bb | |||
| @@ -16,9 +16,8 @@ PV .= "+git" | |||
| 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://0001-add-missing-system-header-string.h.patch \ | 18 | file://0001-add-missing-system-header-string.h.patch \ |
| 19 | file://0001-include-libgen.h-for-basename.patch \ | 19 | " |
| 20 | " | 20 | SRCREV = "e005fbec2324aa8de7e2f302e5a17483c525b1d1" |
| 21 | SRCREV = "ecf30a1ccf756776dfea440e4cf9b0b54581075f" | ||
| 22 | 21 | ||
| 23 | S = "${WORKDIR}/git" | 22 | S = "${WORKDIR}/git" |
| 24 | 23 | ||
