gentoo-ebuilds/app-i18n/mozc/files/mozc-2.32.5994.102-bazel_patch-fix_shebang.patch
Nicolas PARLANT 4c8db9a495
app-i18n/mozc: add 2.32.5994.102
few changes to facilitate the update
backport a patch to fix a build failure

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44850
Closes: https://github.com/gentoo/gentoo/pull/44850
Signed-off-by: Sam James <sam@gentoo.org>
2025-12-02 12:51:56 +00:00

13 lines
363 B
Diff

patch rules_python package to set shebang
this patch is applied by bazel, not portage
--- python/private/py_runtime_info.bzl
+++ python/private/py_runtime_info.bzl
@@ -15,7 +15,7 @@
load(":util.bzl", "define_bazel_6_provider")
-DEFAULT_STUB_SHEBANG = "#!/usr/bin/env python3"
+DEFAULT_STUB_SHEBANG = "#!@PYTHON@"
_PYTHON_VERSION_VALUES = ["PY2", "PY3"]