media-video/kmplayer: add patch to solve build failure with >=dev-util/cmake-3.4

Gentoo-bug: 568430

Package-Manager: portage-2.2.26
This commit is contained in:
Michael Palimaka
2015-12-26 05:55:20 +11:00
parent eb57c3220e
commit 12e5670ffa
2 changed files with 18 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
Fix build with >=cmake-3.4
Gentoo-bug: 568430
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -59,6 +59,7 @@
endif(NOT WIN32)
+include(CheckIncludeFiles)
check_include_files(stdint.h HAVE_STDINT_H)
configure_file (config-kmplayer.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kmplayer.h )

View File

@@ -38,7 +38,10 @@ RDEPEND="${DEPEND}
media-video/mplayer
"
PATCHES=( "${FILESDIR}/${P}-kdelibs-4.14.11.patch" )
PATCHES=(
"${FILESDIR}/${P}-cmake34.patch"
"${FILESDIR}/${P}-kdelibs-4.14.11.patch"
)
src_prepare() {
use npp && epatch "${FILESDIR}/${PN}-flash.patch"