commit:     c4c1e9f9ad2b3efe2d2080261675a72f69686137
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 20:43:49 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 20:43:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4c1e9f9

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

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

 sys-fs/dmraid/dmraid-1.0.0_rc16-r7.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sys-fs/dmraid/dmraid-1.0.0_rc16-r7.ebuild 
b/sys-fs/dmraid/dmraid-1.0.0_rc16-r7.ebuild
index f602f7a7970c..9b4b3388e2d2 100644
--- a/sys-fs/dmraid/dmraid-1.0.0_rc16-r7.ebuild
+++ b/sys-fs/dmraid/dmraid-1.0.0_rc16-r7.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=7
 
-inherit autotools linux-info
+inherit flag-o-matic autotools linux-info
 
 MY_PV=${PV/_/.}-3
 
@@ -67,6 +67,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug 908662
+       use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
+
        # disable klibc and dietlibc, bug #653392
        econf \
                --with-usrlibdir='${prefix}'/$(get_libdir) \

Reply via email to