diff --git a/debian/patches/0001-Prefer-default-Python-version.patch b/debian/patches/0001-Prefer-default-Python-version.patch index 9514463b3..d8e168dbc 100644 --- a/debian/patches/0001-Prefer-default-Python-version.patch +++ b/debian/patches/0001-Prefer-default-Python-version.patch @@ -14,10 +14,10 @@ Forwarded: not-needed 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Modules/FindPython/Support.cmake b/Modules/FindPython/Support.cmake -index 0f9d568..4ddf44e 100644 +index 1386117..8fa1113 100644 --- a/Modules/FindPython/Support.cmake +++ b/Modules/FindPython/Support.cmake -@@ -1531,12 +1531,7 @@ unset (${_PYTHON_PREFIX}_SOSABI) +@@ -1549,12 +1549,7 @@ unset (${_PYTHON_PREFIX}_SOSABI) unset (${_PYTHON_PREFIX}_DEBUG_POSTFIX) # Define lookup strategy @@ -31,7 +31,7 @@ index 0f9d568..4ddf44e 100644 if (DEFINED ${_PYTHON_PREFIX}_FIND_STRATEGY) if (NOT ${_PYTHON_PREFIX}_FIND_STRATEGY MATCHES "^(VERSION|LOCATION)$") message (AUTHOR_WARNING "Find${_PYTHON_PREFIX}: ${${_PYTHON_PREFIX}_FIND_STRATEGY}: invalid value for '${_PYTHON_PREFIX}_FIND_STRATEGY'. 'VERSION' or 'LOCATION' expected.") -@@ -1736,7 +1731,7 @@ if (DEFINED ${_PYTHON_PREFIX}_FIND_UNVERSIONED_NAMES) +@@ -1754,7 +1749,7 @@ if (DEFINED ${_PYTHON_PREFIX}_FIND_UNVERSIONED_NAMES) set (_${_PYTHON_PREFIX}_FIND_UNVERSIONED_NAMES ${${_PYTHON_PREFIX}_FIND_UNVERSIONED_NAMES}) endif() else()