commit: 0009bd5cdb3a1fb760f30987ea929094f184de3b Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Sat Mar 2 23:51:28 2024 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Sat Mar 2 23:51:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0009bd5c
app-crypt/cfssl: Apply musl-1.2.4 largefile workaround Bug: https://bugs.gentoo.org/905997 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> app-crypt/cfssl/cfssl-1.4.1.ebuild | 5 ++++- app-crypt/cfssl/cfssl-1.6.0.ebuild | 5 ++++- app-crypt/cfssl/cfssl-1.6.4.ebuild | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/app-crypt/cfssl/cfssl-1.4.1.ebuild b/app-crypt/cfssl/cfssl-1.4.1.ebuild index b660f9c05730..7541ce49e832 100644 --- a/app-crypt/cfssl/cfssl-1.4.1.ebuild +++ b/app-crypt/cfssl/cfssl-1.4.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -21,6 +21,9 @@ PATCHES=( ) src_compile() { + # bug 905997 + use elibc_musl && export CGO_CFLAGS="-D_LARGEFILE64_SOURCE" + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" emake VERSION="${PV}" } diff --git a/app-crypt/cfssl/cfssl-1.6.0.ebuild b/app-crypt/cfssl/cfssl-1.6.0.ebuild index a9502128157a..3d244721ab37 100644 --- a/app-crypt/cfssl/cfssl-1.6.0.ebuild +++ b/app-crypt/cfssl/cfssl-1.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -21,6 +21,9 @@ PATCHES=( ) src_compile() { + # bug 905997 + use elibc_musl && export CGO_CFLAGS="-D_LARGEFILE64_SOURCE" + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" emake VERSION="${PV}" } diff --git a/app-crypt/cfssl/cfssl-1.6.4.ebuild b/app-crypt/cfssl/cfssl-1.6.4.ebuild index 947d408f17b3..3d244721ab37 100644 --- a/app-crypt/cfssl/cfssl-1.6.4.ebuild +++ b/app-crypt/cfssl/cfssl-1.6.4.ebuild @@ -21,6 +21,9 @@ PATCHES=( ) src_compile() { + # bug 905997 + use elibc_musl && export CGO_CFLAGS="-D_LARGEFILE64_SOURCE" + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" emake VERSION="${PV}" }
