gstreamer/subprojects/gst-plugins-bad/sys/uvcgadget
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
..
configfs.c uvcgadget: Use g_path_get_basename instead of libc basename 2024-06-12 12:20:45 -07:00
configfs.h uvcsink: configfs.{c,h}: add helper function to parse by videodev 2023-06-01 19:19:05 +00:00
gstuvcsink.c uvcsink: use the pad's current caps to update caps_changed 2023-10-06 15:55:23 +00:00
gstuvcsink.h uvcsink: add probe handling for live pipelines 2023-06-01 19:19:05 +00:00
meson.build uvcsink: add new bin element around v4l2sink 2023-06-01 19:19:05 +00:00
uvc.c uvcsink: add new bin element around v4l2sink 2023-06-01 19:19:05 +00:00