1 |
commit: ef72b5e8048ce1041fc836f30fca368061664455 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 30 17:31:25 2015 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 30 17:33:17 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef72b5e8 |
7 |
|
8 |
media-video/kaffeine: backport patch from upstream solving build failure with >=dev-util/cmake-3.4.0 |
9 |
|
10 |
Gentoo-bug: 567112 |
11 |
|
12 |
Package-Manager: portage-2.2.26 |
13 |
|
14 |
.../kaffeine/files/kaffeine-1.3.1-cmake34.patch | 26 ++++++++++++++++++++++ |
15 |
media-video/kaffeine/kaffeine-1.2.2-r1.ebuild | 5 ++++- |
16 |
media-video/kaffeine/kaffeine-1.3.1.ebuild | 2 +- |
17 |
3 files changed, 31 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/media-video/kaffeine/files/kaffeine-1.3.1-cmake34.patch b/media-video/kaffeine/files/kaffeine-1.3.1-cmake34.patch |
20 |
new file mode 100644 |
21 |
index 0000000..a8c31f1 |
22 |
--- /dev/null |
23 |
+++ b/media-video/kaffeine/files/kaffeine-1.3.1-cmake34.patch |
24 |
@@ -0,0 +1,26 @@ |
25 |
+From 4a1a90ee1b2b4d13302046f043adf1c2a1de758d Mon Sep 17 00:00:00 2001 |
26 |
+From: Raphael Kubo da Costa <rakuco@×××××××.org> |
27 |
+Date: Thu, 26 Nov 2015 15:36:26 +0100 |
28 |
+Subject: [PATCH] Explicitly include CheckIncludeFiles. |
29 |
+ |
30 |
+This fixes the build with CMake 3.4.0. We were calling check_include_files() |
31 |
+and implicitly relying on CheckIncludeFiles being included. |
32 |
+--- |
33 |
+ CMakeLists.txt | 1 + |
34 |
+ 1 file changed, 1 insertion(+) |
35 |
+ |
36 |
+diff --git a/CMakeLists.txt b/CMakeLists.txt |
37 |
+index d9be8db..b74b44d 100644 |
38 |
+--- a/CMakeLists.txt |
39 |
++++ b/CMakeLists.txt |
40 |
+@@ -21,6 +21,7 @@ if(STRICT_BUILD) |
41 |
+ -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS) |
42 |
+ endif(STRICT_BUILD) |
43 |
+ |
44 |
++include(CheckIncludeFiles) |
45 |
+ check_include_files(${CMAKE_CURRENT_SOURCE_DIR}/include/frontend.h HAVE_DVB) |
46 |
+ |
47 |
+ if(NOT HAVE_DVB) |
48 |
+-- |
49 |
+2.4.10 |
50 |
+ |
51 |
|
52 |
diff --git a/media-video/kaffeine/kaffeine-1.2.2-r1.ebuild b/media-video/kaffeine/kaffeine-1.2.2-r1.ebuild |
53 |
index 4abb844..ac31d8c 100644 |
54 |
--- a/media-video/kaffeine/kaffeine-1.2.2-r1.ebuild |
55 |
+++ b/media-video/kaffeine/kaffeine-1.2.2-r1.ebuild |
56 |
@@ -28,7 +28,10 @@ RDEPEND="${DEPEND}" |
57 |
|
58 |
DOCS=( Changelog NOTES ) |
59 |
|
60 |
-PATCHES=( "${FILESDIR}/${PN}-1.2.2-gcc4.7.patch" ) |
61 |
+PATCHES=( |
62 |
+ "${FILESDIR}/${PN}-1.2.2-gcc4.7.patch" |
63 |
+ "${FILESDIR}/${PN}-1.3.1-cmake34.patch" |
64 |
+) |
65 |
|
66 |
src_configure() { |
67 |
local mycmakeargs=( |
68 |
|
69 |
diff --git a/media-video/kaffeine/kaffeine-1.3.1.ebuild b/media-video/kaffeine/kaffeine-1.3.1.ebuild |
70 |
index f08f140..20278dc 100644 |
71 |
--- a/media-video/kaffeine/kaffeine-1.3.1.ebuild |
72 |
+++ b/media-video/kaffeine/kaffeine-1.3.1.ebuild |
73 |
@@ -29,7 +29,7 @@ RDEPEND="${DEPEND}" |
74 |
|
75 |
DOCS=( Changelog NOTES ) |
76 |
|
77 |
-PATCHES=( ) |
78 |
+PATCHES=( "${FILESDIR}/${P}-cmake34.patch" ) |
79 |
|
80 |
src_configure() { |
81 |
local mycmakeargs=( |