mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
app-admin/clog: fix build on musl
Closes: https://bugs.gentoo.org/715248 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
parent
5b98023320
commit
bab48e2eec
@ -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() {
|
||||
|
||||
11
app-admin/clog/files/clog-1.3.0-musl.patch
Normal file
11
app-admin/clog/files/clog-1.3.0-musl.patch
Normal file
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user