commit:     33791d44f8bbe7a8d1566a218a76050d9f51c33d
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  6 21:43:02 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Mar  6 21:46:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33791d44

sys-fs/xfsdump: Apply musl-1.2.4 largefile workaround

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

 sys-fs/xfsdump/xfsdump-3.1.12.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sys-fs/xfsdump/xfsdump-3.1.12.ebuild 
b/sys-fs/xfsdump/xfsdump-3.1.12.ebuild
index 5e4ec29587b6..ba28c411d8d8 100644
--- a/sys-fs/xfsdump/xfsdump-3.1.12.ebuild
+++ b/sys-fs/xfsdump/xfsdump-3.1.12.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="XFS dump/restore utilities"
 HOMEPAGE="https://xfs.wiki.kernel.org/ 
https://git.kernel.org/pub/scm/fs/xfs/xfsdump-dev.git/";
@@ -58,6 +58,9 @@ src_configure() {
        # bug #184564
        unset PLATFORM
 
+       # bug 925234
+       use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
+
        export OPTIMIZER="${CFLAGS}"
        export DEBUG=-DNDEBUG
 

Reply via email to