commit:     9bb92259285c0ef8d145162c922c66d2b9c0f023
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 26 10:32:13 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Nov 26 10:32:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bb92259

dev-lang/oorexx: use largefile workaround for musl

Bug: https://bugs.gentoo.org/908398
Closes: https://bugs.gentoo.org/924171
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/oorexx/oorexx-5.0.0.ebuild | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/dev-lang/oorexx/oorexx-5.0.0.ebuild 
b/dev-lang/oorexx/oorexx-5.0.0.ebuild
index 73538a1b9325..217c32aea9d5 100644
--- a/dev-lang/oorexx/oorexx-5.0.0.ebuild
+++ b/dev-lang/oorexx/oorexx-5.0.0.ebuild
@@ -3,9 +3,9 @@
 
 EAPI=8
 
-APP_REVISION=12583
+APP_REVISION="12583"
 
-inherit cmake
+inherit cmake flag-o-matic
 
 DESCRIPTION="Open source implementation of Object Rexx"
 HOMEPAGE="https://www.oorexx.org/about.html
@@ -35,3 +35,12 @@ src_unpack() {
        mkdir -p "${WORKDIR}" || die
        mv "${T}/${P}" "${S}" || die
 }
+
+src_configure() {
+       # bug 924171
+       if use elibc_musl ; then
+               append-cppflags -D_LARGEFILE64_SOURCE
+       fi
+
+       cmake_src_configure
+}

Reply via email to