patches/ebuilds: podman: Fix cross compiling
Gentoo bugs [902569][0] and [902571][1] [0]: https://bugs.gentoo.org/show_bug.cgi?id=902569 [1]: https://bugs.gentoo.org/show_bug.cgi?id=902571
This commit is contained in:
13
patches/ebuilds/app-containers/podman/go-md2man.patch
Normal file
13
patches/ebuilds/app-containers/podman/go-md2man.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
--- a/podman-4.4.1.ebuild 2023-03-22 01:23:44.252387512 -0000
|
||||||
|
+++ b/podman-4.4.1.ebuild 2023-03-22 01:36:23.424387512 -0000
|
||||||
|
@@ -37,8 +37,8 @@
|
||||||
|
selinux? ( sys-libs/libselinux:= )
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
- ${COMMON_DEPEND}
|
||||||
|
- dev-go/go-md2man"
|
||||||
|
+ ${COMMON_DEPEND}"
|
||||||
|
+BDEPEND="dev-go/go-md2man"
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
fuse? ( sys-fs/fuse-overlayfs )
|
||||||
|
selinux? ( sec-policy/selinux-podman )"
|
||||||
11
patches/ebuilds/app-containers/podman/tc-export.patch
Normal file
11
patches/ebuilds/app-containers/podman/tc-export.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- a/podman-4.4.1-r1.ebuild 2023-03-23 16:15:10.845405285 -0000
|
||||||
|
+++ b/podman-4.4.1-r1.ebuild 2023-03-23 16:15:54.433405285 -0000
|
||||||
|
@@ -60,6 +60,8 @@
|
||||||
|
has_version -b '>=dev-lang/go-1.13.9' || makefile_sed_args+=(-e 's:GO111MODULE=off:GO111MODULE=on:')
|
||||||
|
|
||||||
|
sed "${makefile_sed_args[@]}" -i Makefile || die
|
||||||
|
+
|
||||||
|
+ tc-export CC LD
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
Reference in New Issue
Block a user