diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-cmake')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch b/meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch index d4d2903d5e..7b4190a70f 100644 --- a/meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch +++ b/meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch | |||
@@ -1,13 +1,13 @@ | |||
1 | Upstream-Status: Pending | 1 | Upstream-Status: Pending |
2 | 2 | ||
3 | --- cmake-3.25.2/src/cmake/__init__.py.old 2023-03-10 09:40:43.582315753 +0100 | 3 | --- cmake-3.25.2/src/cmake/__init__.py.old 2024-12-12 20:25:48.207389622 +0000 |
4 | +++ cmake-3.25.2/src/cmake/__init__.py 2023-03-10 09:41:38.030874047 +0100 | 4 | +++ cmake-3.25.2/src/cmake/__init__.py 2024-12-12 20:25:48.207389622 +0000 |
5 | @@ -36,7 +36,7 @@ | 5 | @@ -44,7 +44,7 @@ |
6 | 6 | ||
7 | 7 | ||
8 | def _program(name, args): | 8 | def _program(name: str, args: Iterable[str]) -> int: |
9 | - return subprocess.call([os.path.join(CMAKE_BIN_DIR, name)] + args, close_fds=False) | 9 | - return subprocess.call([os.path.join(CMAKE_BIN_DIR, name), *args], close_fds=False) |
10 | + return subprocess.call([name] + args, close_fds=False) | 10 | + return subprocess.call([name] + args, close_fds=False) |
11 | 11 | ||
12 | 12 | def _program_exit(name: str, *args: str) -> NoReturn: | |
13 | def cmake(): | 13 | if sys.platform.startswith("win"): |