diff options
Diffstat (limited to 'recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.11.patch')
-rw-r--r-- | recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.11.patch | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.11.patch b/recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.11.patch index c0b718a2..c72c91b2 100644 --- a/recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.11.patch +++ b/recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.11.patch | |||
@@ -16,19 +16,16 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com> | |||
16 | cmake/modules/FindPython/Support.cmake | 2 +- | 16 | cmake/modules/FindPython/Support.cmake | 2 +- |
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | 17 | 1 file changed, 1 insertion(+), 1 deletion(-) |
18 | 18 | ||
19 | diff --git a/cmake/modules/FindPython/Support.cmake b/cmake/modules/FindPython/Support.cmake | 19 | Index: ceph-18.2.0/cmake/modules/FindPython/Support.cmake |
20 | index 6584699b79..c05bbe3306 100644 | 20 | =================================================================== |
21 | --- a/cmake/modules/FindPython/Support.cmake | 21 | --- ceph-18.2.0.orig/cmake/modules/FindPython/Support.cmake |
22 | +++ b/cmake/modules/FindPython/Support.cmake | 22 | +++ ceph-18.2.0/cmake/modules/FindPython/Support.cmake |
23 | @@ -17,7 +17,7 @@ if (NOT DEFINED _${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR) | 23 | @@ -17,7 +17,7 @@ |
24 | message (FATAL_ERROR "FindPython: INTERNAL ERROR") | 24 | message (FATAL_ERROR "FindPython: INTERNAL ERROR") |
25 | endif() | 25 | endif() |
26 | if (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL 3) | 26 | if (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL 3) |
27 | - set(_${_PYTHON_PREFIX}_VERSIONS 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0) | 27 | - set(_${_PYTHON_PREFIX}_VERSIONS 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0) |
28 | + set(_${_PYTHON_PREFIX}_VERSIONS 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0) | 28 | + set(_${_PYTHON_PREFIX}_VERSIONS 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0) |
29 | elseif (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL 2) | 29 | elseif (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL 2) |
30 | set(_${_PYTHON_PREFIX}_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0) | 30 | set(_${_PYTHON_PREFIX}_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0) |
31 | else() | 31 | else() |
32 | -- | ||
33 | 2.18.2 | ||
34 | |||