diff options
author | Gard Spreemann <gspreemann@gmail.com> | 2017-10-09 11:47:26 +0200 |
---|---|---|
committer | Gard Spreemann <gspreemann@gmail.com> | 2017-10-09 15:45:51 +0200 |
commit | e1138e5af8b13c2c543016df480d5d9db711e2ff (patch) | |
tree | 8be4a94a8bc9205e8418d610eda3fa9ec23cda81 /debian/patches/0001-Force-Python-3-detection-to-avoid-mixing-2-and-3.patch | |
parent | bb97715110d9d85ec863d1b217e8b5cbcc8134c5 (diff) |
Rebase patches.
Diffstat (limited to 'debian/patches/0001-Force-Python-3-detection-to-avoid-mixing-2-and-3.patch')
-rw-r--r-- | debian/patches/0001-Force-Python-3-detection-to-avoid-mixing-2-and-3.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/debian/patches/0001-Force-Python-3-detection-to-avoid-mixing-2-and-3.patch b/debian/patches/0001-Force-Python-3-detection-to-avoid-mixing-2-and-3.patch new file mode 100644 index 00000000..1b76f052 --- /dev/null +++ b/debian/patches/0001-Force-Python-3-detection-to-avoid-mixing-2-and-3.patch @@ -0,0 +1,36 @@ +From 3a8816f0a83e92307c39cd9cfa85ea6e67df48eb Mon Sep 17 00:00:00 2001 +From: Gard Spreemann <gspreemann@gmail.com> +Date: Mon, 9 Oct 2017 11:46:06 +0200 +Subject: [PATCH 1/3] Force Python 3 detection to avoid mixing 2 and 3. + +--- + cmake/modules/FindCython.cmake | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/cmake/modules/FindCython.cmake b/cmake/modules/FindCython.cmake +index 04aed1f..f3a5b7b 100644 +--- a/cmake/modules/FindCython.cmake ++++ b/cmake/modules/FindCython.cmake +@@ -24,16 +24,16 @@ + + # Use the Cython executable that lives next to the Python executable + # if it is a local installation. +-find_package( PythonInterp ) ++find_package( PythonInterp 3 ) + if( PYTHONINTERP_FOUND ) + get_filename_component( _python_path ${PYTHON_EXECUTABLE} PATH ) + find_program( CYTHON_EXECUTABLE +- NAMES cython cython.bat cython3 ++ NAMES cython3 + HINTS ${_python_path} + ) + else() + find_program( CYTHON_EXECUTABLE +- NAMES cython cython.bat cython3 ++ NAMES cython3 + ) + endif() + +-- +2.11.0 + |