summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-12-26 05:55:20 +1100
committerMichael Palimaka <kensington@gentoo.org>2015-12-26 05:56:13 +1100
commit12e5670ffac6478ecc99d404ceeec365d4ebb2b1 (patch)
tree4f4b34eb567cc8ebf23c244026b175f0606cbd32 /media-video/kmplayer
parentnet-libs/libaccounts-glib: add missing dependency (diff)
downloadgentoo-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/kmplayer')
-rw-r--r--media-video/kmplayer/files/kmplayer-0.11.3d-cmake34.patch14
-rw-r--r--media-video/kmplayer/kmplayer-0.11.3d-r3.ebuild5
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"