commit:     5805cc6a36fae4888673210de5f8e33b3cdb5001
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  6 21:50:12 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Mar  6 21:50:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5805cc6a

dev-util/lttng-tools: Apply musl-1.2.4 largefile workaround

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

 dev-util/lttng-tools/lttng-tools-2.13.9.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-util/lttng-tools/lttng-tools-2.13.9.ebuild 
b/dev-util/lttng-tools/lttng-tools-2.13.9.ebuild
index 1edf4a57fd84..9375115c5205 100644
--- a/dev-util/lttng-tools/lttng-tools-2.13.9.ebuild
+++ b/dev-util/lttng-tools/lttng-tools-2.13.9.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
+inherit flag-o-matic
+
 # Please bump the following packages together:
 # dev-util/lttng-modules
 # dev-util/lttng-tools
@@ -36,6 +38,9 @@ QA_CONFIG_IMPL_DECL_SKIP=(
 )
 
 src_configure() {
+       # bug 906928
+       use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE
+
        econf $(usex ust "" --without-lttng-ust)
 }
 

Reply via email to