commit:     95f0486e6038b73aba738b5f30e96a8164e36876
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  2 23:47:08 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Mar  2 23:47:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95f0486e

app-containers/podman: Apply musl-1.2.4 largefile workaround

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

 app-containers/podman/podman-4.8.3.ebuild     | 3 +++
 app-containers/podman/podman-4.9.1.ebuild     | 3 +++
 app-containers/podman/podman-4.9.2.ebuild     | 3 +++
 app-containers/podman/podman-4.9.3.ebuild     | 3 +++
 app-containers/podman/podman-5.0.0_rc1.ebuild | 3 +++
 app-containers/podman/podman-5.0.0_rc3.ebuild | 3 +++
 app-containers/podman/podman-9999.ebuild      | 3 +++
 7 files changed, 21 insertions(+)

diff --git a/app-containers/podman/podman-4.8.3.ebuild 
b/app-containers/podman/podman-4.8.3.ebuild
index f20ed743d3e8..731c296c2fcd 100644
--- a/app-containers/podman/podman-4.8.3.ebuild
+++ b/app-containers/podman/podman-4.8.3.ebuild
@@ -90,6 +90,9 @@ src_prepare() {
 src_compile() {
        export PREFIX="${EPREFIX}/usr"
 
+       # bug 906073
+       use elibc_musl && export CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
+
        # For non-live versions, prevent git operations which causes sandbox 
violations
        # https://github.com/gentoo/gentoo/pull/33531#issuecomment-1786107493
        [[ ${PV} != 9999* ]] && export COMMIT_NO="" GIT_COMMIT=""

diff --git a/app-containers/podman/podman-4.9.1.ebuild 
b/app-containers/podman/podman-4.9.1.ebuild
index 3f6774cf6770..d0f2ab50cf40 100644
--- a/app-containers/podman/podman-4.9.1.ebuild
+++ b/app-containers/podman/podman-4.9.1.ebuild
@@ -90,6 +90,9 @@ src_prepare() {
 src_compile() {
        export PREFIX="${EPREFIX}/usr"
 
+       # bug 906073
+       use elibc_musl && export CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
+
        # For non-live versions, prevent git operations which causes sandbox 
violations
        # https://github.com/gentoo/gentoo/pull/33531#issuecomment-1786107493
        [[ ${PV} != 9999* ]] && export COMMIT_NO="" GIT_COMMIT=""

diff --git a/app-containers/podman/podman-4.9.2.ebuild 
b/app-containers/podman/podman-4.9.2.ebuild
index 3f6774cf6770..d0f2ab50cf40 100644
--- a/app-containers/podman/podman-4.9.2.ebuild
+++ b/app-containers/podman/podman-4.9.2.ebuild
@@ -90,6 +90,9 @@ src_prepare() {
 src_compile() {
        export PREFIX="${EPREFIX}/usr"
 
+       # bug 906073
+       use elibc_musl && export CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
+
        # For non-live versions, prevent git operations which causes sandbox 
violations
        # https://github.com/gentoo/gentoo/pull/33531#issuecomment-1786107493
        [[ ${PV} != 9999* ]] && export COMMIT_NO="" GIT_COMMIT=""

diff --git a/app-containers/podman/podman-4.9.3.ebuild 
b/app-containers/podman/podman-4.9.3.ebuild
index d3e7005f5819..dc3ca1b956ca 100644
--- a/app-containers/podman/podman-4.9.3.ebuild
+++ b/app-containers/podman/podman-4.9.3.ebuild
@@ -92,6 +92,9 @@ src_prepare() {
 src_compile() {
        export PREFIX="${EPREFIX}/usr"
 
+       # bug 906073
+       use elibc_musl && export CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
+
        # For non-live versions, prevent git operations which causes sandbox 
violations
        # https://github.com/gentoo/gentoo/pull/33531#issuecomment-1786107493
        [[ ${PV} != 9999* ]] && export COMMIT_NO="" GIT_COMMIT=""

diff --git a/app-containers/podman/podman-5.0.0_rc1.ebuild 
b/app-containers/podman/podman-5.0.0_rc1.ebuild
index d3e7005f5819..dc3ca1b956ca 100644
--- a/app-containers/podman/podman-5.0.0_rc1.ebuild
+++ b/app-containers/podman/podman-5.0.0_rc1.ebuild
@@ -92,6 +92,9 @@ src_prepare() {
 src_compile() {
        export PREFIX="${EPREFIX}/usr"
 
+       # bug 906073
+       use elibc_musl && export CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
+
        # For non-live versions, prevent git operations which causes sandbox 
violations
        # https://github.com/gentoo/gentoo/pull/33531#issuecomment-1786107493
        [[ ${PV} != 9999* ]] && export COMMIT_NO="" GIT_COMMIT=""

diff --git a/app-containers/podman/podman-5.0.0_rc3.ebuild 
b/app-containers/podman/podman-5.0.0_rc3.ebuild
index d3e7005f5819..dc3ca1b956ca 100644
--- a/app-containers/podman/podman-5.0.0_rc3.ebuild
+++ b/app-containers/podman/podman-5.0.0_rc3.ebuild
@@ -92,6 +92,9 @@ src_prepare() {
 src_compile() {
        export PREFIX="${EPREFIX}/usr"
 
+       # bug 906073
+       use elibc_musl && export CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
+
        # For non-live versions, prevent git operations which causes sandbox 
violations
        # https://github.com/gentoo/gentoo/pull/33531#issuecomment-1786107493
        [[ ${PV} != 9999* ]] && export COMMIT_NO="" GIT_COMMIT=""

diff --git a/app-containers/podman/podman-9999.ebuild 
b/app-containers/podman/podman-9999.ebuild
index d3e7005f5819..dc3ca1b956ca 100644
--- a/app-containers/podman/podman-9999.ebuild
+++ b/app-containers/podman/podman-9999.ebuild
@@ -92,6 +92,9 @@ src_prepare() {
 src_compile() {
        export PREFIX="${EPREFIX}/usr"
 
+       # bug 906073
+       use elibc_musl && export CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
+
        # For non-live versions, prevent git operations which causes sandbox 
violations
        # https://github.com/gentoo/gentoo/pull/33531#issuecomment-1786107493
        [[ ${PV} != 9999* ]] && export COMMIT_NO="" GIT_COMMIT=""

Reply via email to