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>
This commit is contained in:
Wang Mingyu 2024-04-22 17:15:45 +08:00 committed by Khem Raj
parent 031d742ef1
commit 76964620a7
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 2 additions and 35 deletions

View File

@ -1,32 +0,0 @@
From c955ac2a4d57f21351e53a5209346fdc2325a747 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 25 Mar 2024 15:12:02 -0700
Subject: [PATCH] include libgen.h for basename
basename prototype has been removed from string.h from latest musl [1]
compilers e.g. clang-18 flags the absense of prototype as error. therefore
include libgen.h for providing it.
[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
wdmd/main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/wdmd/main.c b/wdmd/main.c
index 38a99f3..7014462 100644
--- a/wdmd/main.c
+++ b/wdmd/main.c
@@ -15,6 +15,7 @@
#include <stddef.h>
#include <grp.h>
#include <fcntl.h>
+#include <libgen.h>
#include <string.h>
#include <errno.h>
#include <limits.h>
--
2.44.0

View File

@ -16,9 +16,8 @@ PV .= "+git"
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://0001-add-missing-system-header-string.h.patch \
file://0001-include-libgen.h-for-basename.patch \
"
SRCREV = "ecf30a1ccf756776dfea440e4cf9b0b54581075f"
"
SRCREV = "e005fbec2324aa8de7e2f302e5a17483c525b1d1"
S = "${WORKDIR}/git"