gentoo-ebuilds/app-admin/clog/files/clog-1.3.0-musl.patch
Arthur Zamarin bab48e2eec
app-admin/clog: fix build on musl
Closes: https://bugs.gentoo.org/715248
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-10-06 23:38:31 +03:00

11 lines
294 B
Diff

--- a/src/libshared/src/FS.cpp
+++ b/src/libshared/src/FS.cpp
@@ -41,7 +41,7 @@
#include <shared.h>
#include <format.h>
-#if defined SOLARIS || defined NETBSD || defined FREEBSD
+#if defined SOLARIS || defined NETBSD || defined FREEBSD || !defined(__GLIBC__)
#include <limits.h>
#endif