aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2015-11-26 19:03:49 +0800
committerrakuco <rakuco@FreeBSD.org>2015-11-26 19:03:49 +0800
commite5f69e80a7885f9089973b7d16b27bbe1d1a48e8 (patch)
treedd93574dbce97aa331b52e66ceccb1b9c12277c5 /devel
parentbdca5c0e183e2eb902efc8adcc4803e83afee4d6 (diff)
downloadfreebsd-ports-gnome-e5f69e80a7885f9089973b7d16b27bbe1d1a48e8.tar.gz
freebsd-ports-gnome-e5f69e80a7885f9089973b7d16b27bbe1d1a48e8.tar.zst
freebsd-ports-gnome-e5f69e80a7885f9089973b7d16b27bbe1d1a48e8.zip
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.
Diffstat (limited to 'devel')
-rw-r--r--devel/kdbg/files/patch-kdbg_CMakeLists.txt23
1 files changed, 23 insertions, 0 deletions
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 <rakuco@FreeBSD.org>
+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)