commit:     6641ea68521cc81c1222137c736d6947722ba94d
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 00:26:56 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 00:27:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6641ea68

sys-devel/autogen: Apply musl-1.2.4 largefile workaround

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

 sys-devel/autogen/autogen-5.18.16-r3.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-devel/autogen/autogen-5.18.16-r3.ebuild 
b/sys-devel/autogen/autogen-5.18.16-r3.ebuild
index e9f534f54787..e908a1837ef5 100644
--- a/sys-devel/autogen/autogen-5.18.16-r3.ebuild
+++ b/sys-devel/autogen/autogen-5.18.16-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools toolchain-funcs
+inherit flag-o-matic autotools toolchain-funcs
 
 DESCRIPTION="Program and text file generation"
 HOMEPAGE="https://www.gnu.org/software/autogen/";
@@ -60,6 +60,9 @@ src_configure() {
                export libopts_cv_with_libregex=yes
        fi
 
+       # bug 920174
+       use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE
+
        econf $(use_enable static-libs static)
 }
 

Reply via email to