commit:     639e9ab54188c10c107feb7fe08b319e6929356e
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  7 17:23:02 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Thu Mar  7 17:23:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=639e9ab5

dev-libs/criterion: Implement musl-1.2.4 largefile workaround

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

 dev-libs/criterion/criterion-2.4.1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-libs/criterion/criterion-2.4.1.ebuild 
b/dev-libs/criterion/criterion-2.4.1.ebuild
index d23e55dd8cb0..dd6573f7cc78 100644
--- a/dev-libs/criterion/criterion-2.4.1.ebuild
+++ b/dev-libs/criterion/criterion-2.4.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..11} )
 
-inherit meson python-any-r1
+inherit flag-o-matic meson python-any-r1
 
 DEBUGBREAK_COMMIT="6b79ec8d8f8d4603111f580a0537f8f31c484c32"
 KLIB_COMMIT="cdb7e9236dc47abf8da7ebd702cc6f7f21f0c502"
@@ -55,6 +55,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug 906379
+       use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE
+
        local emesonargs=(
                -Dsamples=$(usex test true false)
                -Dtests=$(usex test true false)

Reply via email to