diff options
author | Michael Palimaka <kensington@gentoo.org> | 2015-12-26 05:55:20 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2015-12-26 05:56:13 +1100 |
commit | 12e5670ffac6478ecc99d404ceeec365d4ebb2b1 (patch) | |
tree | 4f4b34eb567cc8ebf23c244026b175f0606cbd32 /media-video | |
parent | net-libs/libaccounts-glib: add missing dependency (diff) | |
download | gentoo-12e5670ffac6478ecc99d404ceeec365d4ebb2b1.tar.gz gentoo-12e5670ffac6478ecc99d404ceeec365d4ebb2b1.tar.bz2 gentoo-12e5670ffac6478ecc99d404ceeec365d4ebb2b1.zip |
media-video/kmplayer: add patch to solve build failure with >=dev-util/cmake-3.4
Gentoo-bug: 568430
Package-Manager: portage-2.2.26
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/kmplayer/files/kmplayer-0.11.3d-cmake34.patch | 14 | ||||
-rw-r--r-- | media-video/kmplayer/kmplayer-0.11.3d-r3.ebuild | 5 |
2 files changed, 18 insertions, 1 deletions
diff --git a/media-video/kmplayer/files/kmplayer-0.11.3d-cmake34.patch b/media-video/kmplayer/files/kmplayer-0.11.3d-cmake34.patch new file mode 100644 index 000000000000..a22136c9f5f8 --- /dev/null +++ b/media-video/kmplayer/files/kmplayer-0.11.3d-cmake34.patch @@ -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 ) diff --git a/media-video/kmplayer/kmplayer-0.11.3d-r3.ebuild b/media-video/kmplayer/kmplayer-0.11.3d-r3.ebuild index 971fd3704453..84a1c41521fb 100644 --- a/media-video/kmplayer/kmplayer-0.11.3d-r3.ebuild +++ b/media-video/kmplayer/kmplayer-0.11.3d-r3.ebuild @@ -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" |