commit:     c4281f3f0b14ae51f5f90632adb0611b37b63fcb
Author:     Alexander Barker <alex <AT> 1stleg <DOT> com>
AuthorDate: Sat Jan 24 03:36:38 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 24 19:59:10 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4281f3f

app-containers/docker: fix cross-compiliation by calling go-module_src_unpack

Extends the change made in d2244d7108dc2bc2820efcdf85719358ed36f48b to
apply to the rest of the ebuilds for this package.

Closes: https://bugs.gentoo.org/907639
Signed-off-by: Alexander Barker <alex <AT> 1stleg.com>
Part-of: https://github.com/gentoo/gentoo/pull/45502
Closes: https://github.com/gentoo/gentoo/pull/45502
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-containers/docker/docker-28.0.1.ebuild    | 3 ++-
 app-containers/docker/docker-28.1.1.ebuild    | 3 ++-
 app-containers/docker/docker-28.2.2.ebuild    | 3 ++-
 app-containers/docker/docker-28.4.0.ebuild    | 3 ++-
 app-containers/docker/docker-29.1.3-r1.ebuild | 3 ++-
 5 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/app-containers/docker/docker-28.0.1.ebuild 
b/app-containers/docker/docker-28.0.1.ebuild
index 3fdc9f584ef0..df0dfd40bb1e 100644
--- a/app-containers/docker/docker-28.0.1.ebuild
+++ b/app-containers/docker/docker-28.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -232,6 +232,7 @@ pkg_setup() {
 
 src_unpack() {
        default
+       go-module_src_unpack
        cd "${S}"
        [[ -f go.mod ]] || ln -s vendor.mod go.mod || die
        [[ -f go.sum ]] || ln -s vendor.sum go.sum || die

diff --git a/app-containers/docker/docker-28.1.1.ebuild 
b/app-containers/docker/docker-28.1.1.ebuild
index dbb107a00d34..8de456bb7bc2 100644
--- a/app-containers/docker/docker-28.1.1.ebuild
+++ b/app-containers/docker/docker-28.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -232,6 +232,7 @@ pkg_setup() {
 
 src_unpack() {
        default
+       go-module_src_unpack
        cd "${S}"
        [[ -f go.mod ]] || ln -s vendor.mod go.mod || die
        [[ -f go.sum ]] || ln -s vendor.sum go.sum || die

diff --git a/app-containers/docker/docker-28.2.2.ebuild 
b/app-containers/docker/docker-28.2.2.ebuild
index 64e6730902a0..b53064922478 100644
--- a/app-containers/docker/docker-28.2.2.ebuild
+++ b/app-containers/docker/docker-28.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -232,6 +232,7 @@ pkg_setup() {
 
 src_unpack() {
        default
+       go-module_src_unpack
        cd "${S}"
        [[ -f go.mod ]] || ln -s vendor.mod go.mod || die
        [[ -f go.sum ]] || ln -s vendor.sum go.sum || die

diff --git a/app-containers/docker/docker-28.4.0.ebuild 
b/app-containers/docker/docker-28.4.0.ebuild
index 39bb05cd08fe..8b62ad787d37 100644
--- a/app-containers/docker/docker-28.4.0.ebuild
+++ b/app-containers/docker/docker-28.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -239,6 +239,7 @@ pkg_setup() {
 
 src_unpack() {
        default
+       go-module_src_unpack
        cd "${S}"
        [[ -f go.mod ]] || ln -s vendor.mod go.mod || die
        [[ -f go.sum ]] || ln -s vendor.sum go.sum || die

diff --git a/app-containers/docker/docker-29.1.3-r1.ebuild 
b/app-containers/docker/docker-29.1.3-r1.ebuild
index 004e861435af..469351027f13 100644
--- a/app-containers/docker/docker-29.1.3-r1.ebuild
+++ b/app-containers/docker/docker-29.1.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -239,6 +239,7 @@ pkg_setup() {
 
 src_unpack() {
        default
+       go-module_src_unpack
        cd "${S}"
        [[ -f go.mod ]] || ln -s vendor.mod go.mod || die
        [[ -f go.sum ]] || ln -s vendor.sum go.sum || die

Reply via email to