summaryrefslogtreecommitdiff
path: root/app-admin/clog/files/clog-1.3.0-musl.patch
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2025-10-06 23:38:31 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2025-10-06 23:38:31 +0300
commitbab48e2eec6cd8db1080f25ee224471842b08d03 (patch)
tree4438e80b039443e27c7b61229eefd8fd3c2c41b2 /app-admin/clog/files/clog-1.3.0-musl.patch
parent5b9802332099430729e1691bd5efd92e64b06724 (diff)
downloadgentoo-bab48e2eec6cd8db1080f25ee224471842b08d03.tar.gz
gentoo-bab48e2eec6cd8db1080f25ee224471842b08d03.tar.bz2
gentoo-bab48e2eec6cd8db1080f25ee224471842b08d03.zip
app-admin/clog: fix build on musl
Closes: https://bugs.gentoo.org/715248 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-admin/clog/files/clog-1.3.0-musl.patch')
-rw-r--r--app-admin/clog/files/clog-1.3.0-musl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-admin/clog/files/clog-1.3.0-musl.patch b/app-admin/clog/files/clog-1.3.0-musl.patch
new file mode 100644
index 000000000000..e9cb12760e67
--- /dev/null
+++ b/app-admin/clog/files/clog-1.3.0-musl.patch
@@ -0,0 +1,11 @@
+--- 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
+