summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-11-30 03:23:56 +1100
committerMichael Palimaka <kensington@gentoo.org>2015-11-30 03:24:34 +1100
commite8aa90c2301d7300e27c536ed33c12851b615f32 (patch)
treed49cdd47199affed388c2f5c71d16fc5f7c1bf8e /dev-util/kdbg
parentmedia-libs/freetype: Removed old. (diff)
downloadgentoo-e8aa90c2301d7300e27c536ed33c12851b615f32.tar.gz
gentoo-e8aa90c2301d7300e27c536ed33c12851b615f32.tar.bz2
gentoo-e8aa90c2301d7300e27c536ed33c12851b615f32.zip
dev-util/kdbg: add patch to fix build failure with >=dev-util/cmake-3.4.0
Gentoo-bug: 567090 Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-util/kdbg')
-rw-r--r--dev-util/kdbg/files/kdbg-2.5.5-cmake34.patch14
-rw-r--r--dev-util/kdbg/kdbg-2.5.5.ebuild1
2 files changed, 15 insertions, 0 deletions
diff --git a/dev-util/kdbg/files/kdbg-2.5.5-cmake34.patch b/dev-util/kdbg/files/kdbg-2.5.5-cmake34.patch
new file mode 100644
index 000000000000..e5f71a0334fb
--- /dev/null
+++ b/dev-util/kdbg/files/kdbg-2.5.5-cmake34.patch
@@ -0,0 +1,14 @@
+Fixes build with cmake-3.4.
+
+Gentoo-bug: 567090
+
+--- kdbg/CMakeLists.txt
++++ kdbg/CMakeLists.txt
+@@ -4,6 +4,7 @@
+
+ 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)
diff --git a/dev-util/kdbg/kdbg-2.5.5.ebuild b/dev-util/kdbg/kdbg-2.5.5.ebuild
index 3600f6197fe4..637d10d99ff5 100644
--- a/dev-util/kdbg/kdbg-2.5.5.ebuild
+++ b/dev-util/kdbg/kdbg-2.5.5.ebuild
@@ -20,6 +20,7 @@ IUSE="debug"
RDEPEND="sys-devel/gdb"
DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/${P}-cmake34.patch" )
DOCS=( BUGS README ReleaseNotes-${PV} TODO )
src_prepare() {