commit:     33c22bd38a5813a11680525851fddf0027da9cb2
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  6 21:38:56 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Mar  6 21:46:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33c22bd3

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

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sys-fs/xfsprogs/xfsprogs-6.4.0.ebuild | 3 +++
 sys-fs/xfsprogs/xfsprogs-6.6.0.ebuild | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/sys-fs/xfsprogs/xfsprogs-6.4.0.ebuild 
b/sys-fs/xfsprogs/xfsprogs-6.4.0.ebuild
index 5ee0fb214a0e..6ecca8c43ca8 100644
--- a/sys-fs/xfsprogs/xfsprogs-6.4.0.ebuild
+++ b/sys-fs/xfsprogs/xfsprogs-6.4.0.ebuild
@@ -60,6 +60,9 @@ src_configure() {
        # Avoid automagic on libdevmapper (bug #709694)
        export ac_cv_search_dm_task_create=no
 
+       # bug 903611
+       use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
+
        # Build fails with -O3 (bug #712698)
        replace-flags -O3 -O2
 

diff --git a/sys-fs/xfsprogs/xfsprogs-6.6.0.ebuild 
b/sys-fs/xfsprogs/xfsprogs-6.6.0.ebuild
index 29cecd2a7b76..757a45fbd50a 100644
--- a/sys-fs/xfsprogs/xfsprogs-6.6.0.ebuild
+++ b/sys-fs/xfsprogs/xfsprogs-6.6.0.ebuild
@@ -62,6 +62,9 @@ src_configure() {
        # Avoid automagic on libdevmapper (bug #709694)
        export ac_cv_search_dm_task_create=no
 
+       # bug 903611
+       use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
+
        # Build fails with -O3 (bug #712698)
        replace-flags -O3 -O2
 

Reply via email to