commit: bab48e2eec6cd8db1080f25ee224471842b08d03 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Mon Oct 6 20:38:31 2025 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Mon Oct 6 20:38:31 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab48e2e
app-admin/clog: fix build on musl Closes: https://bugs.gentoo.org/715248 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> app-admin/clog/clog-1.3.0-r1.ebuild | 3 ++- app-admin/clog/files/clog-1.3.0-musl.patch | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/app-admin/clog/clog-1.3.0-r1.ebuild b/app-admin/clog/clog-1.3.0-r1.ebuild index cc6689579c1b..45e23cdc1d62 100644 --- a/app-admin/clog/clog-1.3.0-r1.ebuild +++ b/app-admin/clog/clog-1.3.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,6 +16,7 @@ RESTRICT="test" # No test suite on tar.gz PATCHES=( "${FILESDIR}"/${PN}-1.3.0-gcc13.patch + "${FILESDIR}"/${PN}-1.3.0-musl.patch ) src_prepare() { 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 +
