mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 00:18:26 +00:00
::musl had another patch, which just drops the include for <bits/wordsize.h>, but this caused failure on glibc. Better solution is to replace it with <limits.h> which exposes publicly the needed macros (internally imports <bits/wordsize.h>) and on musl also works. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
26 lines
721 B
Bash
26 lines
721 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit toolchain-funcs
|
|
|
|
MY_PN="INTEL-SA-00075-Linux-Detection-And-Mitigation-Tools"
|
|
|
|
DESCRIPTION="Tools from Intel to detect and mitigate the AMT/MEI vulnerability"
|
|
HOMEPAGE="https://downloadcenter.intel.com/download/26799/INTEL-SA-00075-Linux-Detection-and-Mitigation-Tools"
|
|
SRC_URI="https://github.com/intel/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
|
|
LICENSE="GPL-2 BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${PN}-makefile.patch"
|
|
"${FILESDIR}/${PN}-wordsize.patch"
|
|
)
|
|
|
|
src_compile() {
|
|
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
}
|