diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pocketsphinx')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pocketsphinx/0001-cython-Use-cythyon3-in-cmake-check.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pocketsphinx/0001-cython-Use-cythyon3-in-cmake-check.patch b/meta-python/recipes-devtools/python/python3-pocketsphinx/0001-cython-Use-cythyon3-in-cmake-check.patch new file mode 100644 index 0000000000..40b2544d55 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pocketsphinx/0001-cython-Use-cythyon3-in-cmake-check.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From 5e6eb640f54a0d716d62ab4db8d96d3b6f3aa7bc Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 19 Feb 2024 22:11:41 -0800 | ||
| 4 | Subject: [PATCH] cython: Use cythyon3 in cmake check | ||
| 5 | |||
| 6 | OE does not install cython anymore, it only has cython3 | ||
| 7 | therefore point the build system to find cython3 | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate [ OE-Specific ] | ||
| 10 | |||
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 12 | --- | ||
| 13 | cython/CMakeLists.txt | 2 +- | ||
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/cython/CMakeLists.txt b/cython/CMakeLists.txt | ||
| 17 | index daa4f76..93dd030 100644 | ||
| 18 | --- a/cython/CMakeLists.txt | ||
| 19 | +++ b/cython/CMakeLists.txt | ||
| 20 | @@ -1,5 +1,5 @@ | ||
| 21 | find_package(Python COMPONENTS Interpreter Development.Module REQUIRED) | ||
| 22 | -find_program(CYTHON "cython") | ||
| 23 | +find_program(CYTHON "cython3") | ||
| 24 | |||
| 25 | if(NOT USE_INSTALLED_POCKETSPHINX) | ||
| 26 | set_property(TARGET pocketsphinx PROPERTY POSITION_INDEPENDENT_CODE on) | ||
| 27 | -- | ||
| 28 | 2.43.2 | ||
| 29 | |||
