summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2024-03-03 00:58:56 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-03-03 00:58:56 +0100
commit0c5d0dccb656bacf693045229a74c7a385622620 (patch)
tree49ec56d6c53155ea2c03e4872d98f3efac7d2ee3 /app-forensics
parentapp-forensics/foremost: drop 1.5.7-r3 (diff)
downloadgentoo-0c5d0dccb656bacf693045229a74c7a385622620.tar.gz
gentoo-0c5d0dccb656bacf693045229a74c7a385622620.tar.bz2
gentoo-0c5d0dccb656bacf693045229a74c7a385622620.zip
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>
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/foremost/foremost-1.5.7-r4.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/app-forensics/foremost/foremost-1.5.7-r4.ebuild b/app-forensics/foremost/foremost-1.5.7-r4.ebuild
index 38ddba4b3495..0f553f7f35d8 100644
--- a/app-forensics/foremost/foremost-1.5.7-r4.ebuild
+++ b/app-forensics/foremost/foremost-1.5.7-r4.ebuild
@@ -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
}