commit:     0c5d0dccb656bacf693045229a74c7a385622620
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  2 23:58:56 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Mar  2 23:58:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c5d0dcc

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

Bug: https://bugs.gentoo.org/906187
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 app-forensics/foremost/foremost-1.5.7-r4.ebuild | 7 ++++---
 1 file 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
 }

Reply via email to