void-packages/srcpkgs/mumble/patches/musl-basename.patch

22 lines
595 B
Diff

--- a/plugins/HostLinux.cpp 2022-01-19 20:11:28.265212833 +0100
+++ b/plugins/HostLinux.cpp 2022-01-19 20:12:07.593145226 +0100
@@ -11,6 +11,7 @@
#include <sstream>
#include <sys/uio.h>
+#include <libgen.h>
HostLinux::HostLinux(const procid_t pid) : m_pid(pid) {
}
--- a/plugins/mumble_positional_audio_linux.h 2022-01-19 20:22:23.490919031 +0100
+++ b/plugins/mumble_positional_audio_linux.h 2022-01-19 20:22:39.579923456 +0100
@@ -20,6 +20,7 @@
#include <stdlib.h>
#include <string>
#include <sys/uio.h>
+#include <libgen.h>
// This function returns:
// -1 in case of failure.