diff options
Diffstat (limited to 'community/ktoblzcheck/0001_drop_python2_detection.patch')
-rw-r--r-- | community/ktoblzcheck/0001_drop_python2_detection.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/community/ktoblzcheck/0001_drop_python2_detection.patch b/community/ktoblzcheck/0001_drop_python2_detection.patch deleted file mode 100644 index 6048c46453..0000000000 --- a/community/ktoblzcheck/0001_drop_python2_detection.patch +++ /dev/null @@ -1,37 +0,0 @@ -Description: Drop broken Python 2 detection - The Python 2 detection is broken for the case that Python isn't even - installed (e.g. because no Python support needs to be built) -- so broken that - it causes the build to fail. As we don't intend to ship Python 2.x libraries - (see Debian Abug #936886), let's just rip out the entire detection logic. -Author: Micha Lenk <micha@debian.org> -Origin: vendor -Bug-Debian: https://bugs.debian.org/936886 -Forwarded: no -Last-Update: 2019-12-04 - ---- libktoblzcheck-1.50.orig/CMakeLists.txt -+++ libktoblzcheck-1.50/CMakeLists.txt -@@ -70,23 +70,6 @@ if(CMAKE_USE_PTHREADS_INIT) - set(HAVE_LIBPTHREAD 1) - endif() - --find_package(Python2 COMPONENTS Interpreter Development) --# for cmake < 3.12 --if(NOT Python2_Interpreter_FOUND) -- find_package(PythonInterp 2.7 REQUIRED) -- set(Python2_Interpreter_FOUND TRUE) -- set(Python2_EXECUTABLE ${PYTHON_EXECUTABLE}) --endif() --if(Python2_Development_FOUND) -- string(REGEX REPLACE "^([0-9]+.[0-9]+).*" "\\1" Python2_VERSION_MAJOR_MINOR ${Python2_VERSION}) --else() -- find_package(PythonLibs 2.6 REQUIRED) -- set(Python2_Development_FOUND TRUE) -- set(Python2_VERSION ${PYTHONLIBS_VERSION_STRING}) -- string(REGEX REPLACE "^([0-9]+.[0-9]+).*" "\\1" Python2_VERSION_MAJOR_MINOR ${Python2_VERSION}) -- set(Python2_SITEARCH "${CMAKE_INSTALL_LIBDIR}/python${Python2_VERSION_MAJOR_MINOR}/site-packages") --endif() -- - ########### configure checks ############### - include(CheckIncludeFile) - check_include_file(dirent.h HAVE_DIRENT_H) |