1 |
commit: 07abe915900c7a3d352261354f96cd5800e0c42e |
2 |
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Dec 29 20:54:59 2015 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 30 12:18:06 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07abe915 |
7 |
|
8 |
net-libs/libkvkontakte: Fix configure, bug 558512 |
9 |
|
10 |
Solution taken from Slackware. |
11 |
|
12 |
Package-Manager: portage-2.2.24 |
13 |
|
14 |
net-libs/libkvkontakte/files/libkvkontakte-4.12.0-cmake.patch | 9 +++++++++ |
15 |
net-libs/libkvkontakte/libkvkontakte-4.12.0.ebuild | 2 ++ |
16 |
2 files changed, 11 insertions(+) |
17 |
|
18 |
diff --git a/net-libs/libkvkontakte/files/libkvkontakte-4.12.0-cmake.patch b/net-libs/libkvkontakte/files/libkvkontakte-4.12.0-cmake.patch |
19 |
new file mode 100644 |
20 |
index 0000000..c11108d |
21 |
--- /dev/null |
22 |
+++ b/net-libs/libkvkontakte/files/libkvkontakte-4.12.0-cmake.patch |
23 |
@@ -0,0 +1,9 @@ |
24 |
+--- a/CMakeLists.txt 2015-06-28 16:54:32.000000000 +0200 |
25 |
++++ b/CMakeLists.txt 2015-12-29 21:47:15.485256424 +0100 |
26 |
+@@ -1,4 +1,6 @@ |
27 |
+ cmake_minimum_required(VERSION 2.8.12) |
28 |
++cmake_policy(SET CMP0022 OLD) |
29 |
++cmake_policy(SET CMP0059 OLD) |
30 |
+ project(kvkontakte) |
31 |
+ |
32 |
+ # the version number, needed for |
33 |
|
34 |
diff --git a/net-libs/libkvkontakte/libkvkontakte-4.12.0.ebuild b/net-libs/libkvkontakte/libkvkontakte-4.12.0.ebuild |
35 |
index b7c8a0a..a6e891b 100644 |
36 |
--- a/net-libs/libkvkontakte/libkvkontakte-4.12.0.ebuild |
37 |
+++ b/net-libs/libkvkontakte/libkvkontakte-4.12.0.ebuild |
38 |
@@ -22,3 +22,5 @@ RDEPEND="${DEPEND}" |
39 |
|
40 |
# accessing network |
41 |
RESTRICT="test" |
42 |
+ |
43 |
+PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) |