mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
14
media-video/kmplayer/files/kmplayer-0.11.3d-cmake34.patch
Normal file
14
media-video/kmplayer/files/kmplayer-0.11.3d-cmake34.patch
Normal 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 )
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user