diff --git a/debian/changelog b/debian/changelog index da3835e26..1a3ceb608 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +cmake (2.8.12.1-1.3) unstable; urgency=medium + + * Non-maintainer upload. + * multiarch-python-include-dirs.diff has bad side-effects + Drop multiarch-python-include-dirs.diff + Closes: #735248 + + -- Anibal Monsalve Salazar Fri, 23 May 2014 09:25:22 +0100 + cmake (2.8.12.1-1.2) unstable; urgency=low * Non-maintainer upload. diff --git a/debian/patches/multiarch-python-include-dirs.diff b/debian/patches/multiarch-python-include-dirs.diff deleted file mode 100644 index bd7642379..000000000 --- a/debian/patches/multiarch-python-include-dirs.diff +++ /dev/null @@ -1,52 +0,0 @@ -Description: Python.h and pyconfig.h can be in different locations -Author: Dmitrijs Ledkovs -Bug: http://public.kitware.com/Bug/view.php?id=14156 -Forwarded: yes -Origin: vendor - ---- a/Modules/FindPythonLibs.cmake -+++ b/Modules/FindPythonLibs.cmake -@@ -136,6 +136,27 @@ foreach(_CURRENT_VERSION ${_Python_VERSI - [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/include - [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/include - PATH_SUFFIXES -+ ${CMAKE_LIBRARY_ARCHITECTURE}/python${_CURRENT_VERSION}mu -+ ${CMAKE_LIBRARY_ARCHITECTURE}/python${_CURRENT_VERSION}m -+ ${CMAKE_LIBRARY_ARCHITECTURE}/python${_CURRENT_VERSION}u -+ ${CMAKE_LIBRARY_ARCHITECTURE}/python${_CURRENT_VERSION} -+ python${_CURRENT_VERSION}mu -+ python${_CURRENT_VERSION}m -+ python${_CURRENT_VERSION}u -+ python${_CURRENT_VERSION} -+ ) -+ -+ find_path(PYTHON_INCLUDE_DIR2 -+ NAMES pyconfig.h -+ PATHS -+ ${PYTHON_FRAMEWORK_INCLUDES} -+ [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/include -+ [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/include -+ PATH_SUFFIXES -+ ${CMAKE_LIBRARY_ARCHITECTURE}/python${_CURRENT_VERSION}mu -+ ${CMAKE_LIBRARY_ARCHITECTURE}/python${_CURRENT_VERSION}m -+ ${CMAKE_LIBRARY_ARCHITECTURE}/python${_CURRENT_VERSION}u -+ ${CMAKE_LIBRARY_ARCHITECTURE}/python${_CURRENT_VERSION} - python${_CURRENT_VERSION}mu - python${_CURRENT_VERSION}m - python${_CURRENT_VERSION}u -@@ -162,13 +183,14 @@ mark_as_advanced( - PYTHON_DEBUG_LIBRARY - PYTHON_LIBRARY - PYTHON_INCLUDE_DIR -+ PYTHON_INCLUDE_DIR2 - ) - - # We use PYTHON_INCLUDE_DIR, PYTHON_LIBRARY and PYTHON_DEBUG_LIBRARY for the - # cache entries because they are meant to specify the location of a single - # library. We now set the variables listed by the documentation for this - # module. --set(PYTHON_INCLUDE_DIRS "${PYTHON_INCLUDE_DIR}") -+set(PYTHON_INCLUDE_DIRS "${PYTHON_INCLUDE_DIR}" "${PYTHON_INCLUDE_DIR2}") - set(PYTHON_DEBUG_LIBRARIES "${PYTHON_DEBUG_LIBRARY}") - - # These variables have been historically named in this module different from diff --git a/debian/patches/series b/debian/patches/series index 9665f9e41..fe32aa041 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,7 +1,6 @@ FindBoost_add_-lpthread_#563479.diff multiarch_findgtk2_fix.diff install_to_multiarch_libdir_on_kfreebsd_hurd.diff -multiarch-python-include-dirs.diff qt_import_dir_variable.diff FindPHP4_fix_typo.diff FindJNI_amd64_ppc_biarch.diff