mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
sys-process/forkstat: add -r support for musl
Closed as WONTFIX upstream, but the patch is simple enough and email threads linked on the bug (incluing by glibc developers) say there should be no functional difference. Bug: https://github.com/ColinIanKing/forkstat/issues/1 Signed-off-by: Carlos Eduardo <carana2099@gmail.com>
This commit is contained in:
23
sys-process/forkstat/forkstat-0.03.02-r2.ebuild
Normal file
23
sys-process/forkstat/forkstat-0.03.02-r2.ebuild
Normal file
@@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Logs process fork(), exec() and exit() activity"
|
||||
HOMEPAGE="https://github.com/ColinIanKing/forkstat"
|
||||
SRC_URI="https://github.com/ColinIanKing/forkstat/archive/refs/tags/V${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${P}"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
PATCHES=( "${FILESDIR}/musl-prio.patch" )
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i 's/8.gz/8/g' Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CFLAGS="$CFLAGS -DVERSION='\"${PV}\"'"
|
||||
}
|
||||
Reference in New Issue
Block a user