From 8b720b6fef87414d61e2ecf401673ac3f841d991 Mon Sep 17 00:00:00 2001 From: Raphael Kubo da Costa Date: Thu, 26 Nov 2015 11:03:49 +0000 Subject: [PATCH] Add patch to make the port build with CMake 3.4.0. In preparation for PR 204629, add a patch (also sent upstream) to make the port build with CMake 3.4.0 by explicitly including a module used by the build system. --- devel/kdbg/files/patch-kdbg_CMakeLists.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 devel/kdbg/files/patch-kdbg_CMakeLists.txt diff --git a/devel/kdbg/files/patch-kdbg_CMakeLists.txt b/devel/kdbg/files/patch-kdbg_CMakeLists.txt new file mode 100644 index 000000000000..bc2b69a57df9 --- /dev/null +++ b/devel/kdbg/files/patch-kdbg_CMakeLists.txt @@ -0,0 +1,23 @@ +Required for building with CMake 3.4.0. + +Submitted via email directly to the upstream author. + +commit 2624465f87d7782527ee82567fd3a4fdf4c54241 +Author: Raphael Kubo da Costa +Date: Thu Nov 26 11:58:11 2015 +0100 + + cmake: Explicitly include the CheckIncludeFiles module. + + This fixes the build with CMake 3.4.0: kdbg/CMakeLists.txt was previously + relying on the module being included indirectly. + +--- kdbg/CMakeLists.txt ++++ kdbg/CMakeLists.txt +@@ -4,6 +4,7 @@ add_subdirectory(typetables) + + include_directories(${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) + include(CheckFunctionExists) ++include(CheckIncludeFiles) + + CHECK_INCLUDE_FILES(pty.h HAVE_PTY_H) + CHECK_INCLUDE_FILES(libutil.h HAVE_LIBUTIL_H)