diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-04 03:16:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-04 03:16:33 +0100 |
commit | f71e91f3fbcdebf01a5ecf58164716586daeaa5b (patch) | |
tree | de424b7f2c5bc642fea9632333bea58bee68c202 /media-libs/libplacebo/files | |
parent | b0ebd12de22226fd7b69140ccd700efda3eb5fa6 (diff) |
gentoo auto-resync : 04:08:2023 - 03:16:33
Diffstat (limited to 'media-libs/libplacebo/files')
-rw-r--r-- | media-libs/libplacebo/files/libplacebo-5.229.1-python-executable.patch | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/media-libs/libplacebo/files/libplacebo-5.229.1-python-executable.patch b/media-libs/libplacebo/files/libplacebo-5.229.1-python-executable.patch index 35486262c992..181e281bfde1 100644 --- a/media-libs/libplacebo/files/libplacebo-5.229.1-python-executable.patch +++ b/media-libs/libplacebo/files/libplacebo-5.229.1-python-executable.patch @@ -1,5 +1,7 @@ -Upstream bundles python deps and uses same interpreter as meson, -but we don't and need this to use the eclass' python3 instead. +Ensure we get the interpreter from python-any-r1 rather than same +as meson. Plus find_program() is quicker than find_installation(), +and the latter also needs distutils that is unavailable with +python3_12 without setuptools. https://bugs.gentoo.org/731728 --- a/meson.build @@ -7,5 +9,5 @@ https://bugs.gentoo.org/731728 @@ -323,3 +323,3 @@ thirdparty = meson.project_source_root()/'3rdparty' -python = import('python').find_installation() -+python = import('python').find_installation('python3') ++python = find_program('python3') python_env = environment() |