commit: be4b3d18966d617d5d62e756b8f625546dfcd427 Author: Z. Liu <zhixu.liu <AT> gmail <DOT> com> AuthorDate: Mon May 12 23:46:42 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue May 13 00:48:44 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be4b3d18
net-fs/cifs-utils: fix build in musl with USE="creds" Closes: https://bugs.gentoo.org/936928 Fixes: fcde99ccaa5d4dc30a1e21f0438fb57d8f886759 Signed-off-by: Z. Liu <zhixu.liu <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42064 Closes: https://github.com/gentoo/gentoo/pull/42064 Signed-off-by: Sam James <sam <AT> gentoo.org> net-fs/cifs-utils/files/cifs-utils-7.0-musl.patch | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/net-fs/cifs-utils/files/cifs-utils-7.0-musl.patch b/net-fs/cifs-utils/files/cifs-utils-7.0-musl.patch index e7c707ab14f7..cca3a9366049 100644 --- a/net-fs/cifs-utils/files/cifs-utils-7.0-musl.patch +++ b/net-fs/cifs-utils/files/cifs-utils-7.0-musl.patch @@ -37,3 +37,27 @@ index b199118..3cb603c 100644 -- 2.45.2 +From ae644b56a4446f520a75217f9288775e127ab2c8 Mon Sep 17 00:00:00 2001 +From: "Z. Liu" <[email protected]> +Date: Tue, 13 May 2025 07:31:46 +0800 +Subject: [PATCH] cifscreds: use <libgen.h> for basename + +fix another implicit declaration of function 'basename' in musl + +Signed-off-by: Z. Liu <[email protected]> + +diff --git a/cifscreds.c b/cifscreds.c +index f552bc8..295059f 100644 +--- a/cifscreds.c ++++ b/cifscreds.c +@@ -29,6 +29,7 @@ + #include <keyutils.h> + #include <getopt.h> + #include <errno.h> ++#include <libgen.h> + #include "cifskey.h" + #include "mount.h" + #include "resolve_host.h" +-- +2.45.2 +
