1 |
commit: 33814f126442ce28c190b45cf8b29f2e15ee3d6f |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 31 14:13:30 2015 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 31 14:14:20 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33814f12 |
7 |
|
8 |
sci-electronics/cirkuit: add patch fixing build failure with kde-base/kdelibs-4.14.11 |
9 |
|
10 |
Gentoo-bug: 559252 |
11 |
|
12 |
Package-Manager: portage-2.2.20.1 |
13 |
|
14 |
sci-electronics/cirkuit/cirkuit-0.4.3-r1.ebuild | 1 + |
15 |
.../cirkuit/files/cirkuit-0.4.3-kdelibs-4.14.11.patch | 12 ++++++++++++ |
16 |
2 files changed, 13 insertions(+) |
17 |
|
18 |
diff --git a/sci-electronics/cirkuit/cirkuit-0.4.3-r1.ebuild b/sci-electronics/cirkuit/cirkuit-0.4.3-r1.ebuild |
19 |
index 8cd8e26..7a297d8 100644 |
20 |
--- a/sci-electronics/cirkuit/cirkuit-0.4.3-r1.ebuild |
21 |
+++ b/sci-electronics/cirkuit/cirkuit-0.4.3-r1.ebuild |
22 |
@@ -30,6 +30,7 @@ RDEPEND="${DEPEND} |
23 |
" |
24 |
|
25 |
DOCS=( Changelog README ) |
26 |
+PATCHES=( "${FILESDIR}/${P}-kdelibs-4.14.11.patch" ) |
27 |
|
28 |
src_install() { |
29 |
kde4-base_src_install |
30 |
|
31 |
diff --git a/sci-electronics/cirkuit/files/cirkuit-0.4.3-kdelibs-4.14.11.patch b/sci-electronics/cirkuit/files/cirkuit-0.4.3-kdelibs-4.14.11.patch |
32 |
new file mode 100644 |
33 |
index 0000000..9332701 |
34 |
--- /dev/null |
35 |
+++ b/sci-electronics/cirkuit/files/cirkuit-0.4.3-kdelibs-4.14.11.patch |
36 |
@@ -0,0 +1,12 @@ |
37 |
+--- po/CMakeLists.txt |
38 |
++++ po/CMakeLists.txt |
39 |
+@@ -1,3 +1,9 @@ |
40 |
++# The pofiles macro creates in some versions same name targets |
41 |
++# which since cmake 2.8 leads to target clashes. |
42 |
++# Hence force the old policy for all po directories. |
43 |
++# http://public.kitware.com/Bug/view.php?id=12952 |
44 |
++cmake_policy(SET CMP0002 OLD) |
45 |
++ |
46 |
+ find_package(Gettext REQUIRED) |
47 |
+ if (NOT GETTEXT_MSGMERGE_EXECUTABLE) |
48 |
+ MESSAGE(FATAL_ERROR "Please install msgmerge binary") |