app-forensics/foremost: Apply musl-1.2.4 largefile workaround

Bug: https://bugs.gentoo.org/906187
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel 2024-03-03 00:58:56 +01:00
parent 7133c7d8f0
commit 0c5d0dccb6
No known key found for this signature in database
GPG Key ID: DC2B16215ED5412A
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -14,7 +14,6 @@ SRC_URI="http://foremost.sourceforge.net/pkg/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~arm64-macos ~x64-macos"
IUSE=""
src_prepare() {
PATCHES=(
@ -30,8 +29,10 @@ src_prepare() {
}
src_compile() {
# see also bug 906187
emake \
RAW_FLAGS="${CFLAGS} -Wall ${LDFLAGS}" \
RAW_FLAGS="${CFLAGS} -Wall ${LDFLAGS} -D_LARGEFILE64_SOURCE" \
RAW_CC="$(tc-getCC) -DVERSION=\\\"${PV}\\\"" \
CONF=/etc
}