summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2024-03-06 22:43:02 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-03-06 22:46:20 +0100
commit33791d44f8bbe7a8d1566a218a76050d9f51c33d (patch)
treee0437ddf428b9295ce16b86fb91497ecf03aca24 /sys-fs/xfsdump
parentsys-fs/xfsprogs: Apply musl-1.2.4 largefile workaround (diff)
downloadgentoo-33791d44f8bbe7a8d1566a218a76050d9f51c33d.tar.gz
gentoo-33791d44f8bbe7a8d1566a218a76050d9f51c33d.tar.bz2
gentoo-33791d44f8bbe7a8d1566a218a76050d9f51c33d.zip
sys-fs/xfsdump: Apply musl-1.2.4 largefile workaround
Bug: https://bugs.gentoo.org/925234 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sys-fs/xfsdump')
-rw-r--r--sys-fs/xfsdump/xfsdump-3.1.12.ebuild7
1 files 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