Skip to content

Commit

Permalink
media-video/kmplayer: add patch to solve build failure with >=dev-uti…
Browse files Browse the repository at this point in the history
…l/cmake-3.4

Gentoo-bug: 568430

Package-Manager: portage-2.2.26
  • Loading branch information
kensington committed Dec 25, 2015
1 parent eb57c32 commit 12e5670
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
14 changes: 14 additions & 0 deletions media-video/kmplayer/files/kmplayer-0.11.3d-cmake34.patch
Original file line number Diff line number Diff line change
@@ -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 )
5 changes: 4 additions & 1 deletion media-video/kmplayer/kmplayer-0.11.3d-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 12e5670

Please sign in to comment.