Khem Raj 9a3c707fd4 uvcgadget: Use g_path_get_basename instead of libc basename
Musl does not implement GNU basename and have fixed a bug where the
prototype was leaked into string.h [1], which resullts in compile errors
with GCC-14 and Clang-17+

| sys/uvcgadget/configfs.c:262:21: error: call to undeclared function 'basename'
ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
|   262 |     const char *v = basename (globbuf.gl_pathv[i]);
|       |                     ^

Use glib function instead makes it portable across musl and glibc on
linux

[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7a

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7006>
2024-06-12 12:20:45 -07:00
..
2024-03-05 12:58:57 +00:00
2024-05-17 14:12:08 +00:00
2024-03-05 12:58:57 +00:00
2024-03-23 13:08:15 +00:00
2024-03-05 12:58:57 +00:00
2024-05-11 15:54:54 +00:00
2024-05-02 13:26:09 +02:00
2024-03-23 13:08:15 +00:00
2024-03-23 13:08:15 +00:00