1 |
commit: ff46a76b91b203f21ddc917a6486be6d2f73011d |
2 |
Author: Peter Levine <plevine457 <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Sep 15 19:58:05 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 13 11:40:24 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff46a76b |
7 |
|
8 |
app-office/gnucash: Fix check_symbol_exists error |
9 |
|
10 |
Adds "include(CheckSymbolExists)" to avoid the error |
11 |
"Unknown CMake command check_symbol_exists" |
12 |
|
13 |
Closes: https://bugs.gentoo.org/690270 |
14 |
Package-Manager: Portage-2.3.75, Repoman-2.3.17 |
15 |
Signed-off-by: Peter Levine <plevine457 <AT> gmail.com> |
16 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
17 |
|
18 |
.../files/gnucash-3.7-include-checksymbolexists.patch | 12 ++++++++++++ |
19 |
app-office/gnucash/gnucash-3.7.ebuild | 5 ++++- |
20 |
2 files changed, 16 insertions(+), 1 deletion(-) |
21 |
|
22 |
diff --git a/app-office/gnucash/files/gnucash-3.7-include-checksymbolexists.patch b/app-office/gnucash/files/gnucash-3.7-include-checksymbolexists.patch |
23 |
new file mode 100644 |
24 |
index 00000000000..c0e1778164c |
25 |
--- /dev/null |
26 |
+++ b/app-office/gnucash/files/gnucash-3.7-include-checksymbolexists.patch |
27 |
@@ -0,0 +1,12 @@ |
28 |
+Bug: https://bugs.gentoo.org/690270 |
29 |
+ |
30 |
+--- a/gnucash/register/register-gnome/CMakeLists.txt |
31 |
++++ b/gnucash/register/register-gnome/CMakeLists.txt |
32 |
+@@ -1,5 +1,7 @@ |
33 |
+ add_subdirectory(test) |
34 |
+ |
35 |
++include(CheckSymbolExists) |
36 |
++ |
37 |
+ #GTK before 3.14 didn't have GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK |
38 |
+ check_symbol_exists(GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK gdk/gdktypes.h have_mod_mask) |
39 |
+ if (NOT have_mod_mask) |
40 |
|
41 |
diff --git a/app-office/gnucash/gnucash-3.7.ebuild b/app-office/gnucash/gnucash-3.7.ebuild |
42 |
index ec42d91eaae..4b8e26a831c 100644 |
43 |
--- a/app-office/gnucash/gnucash-3.7.ebuild |
44 |
+++ b/app-office/gnucash/gnucash-3.7.ebuild |
45 |
@@ -80,7 +80,10 @@ PDEPEND="doc? ( |
46 |
gnome-extra/yelp |
47 |
)" |
48 |
|
49 |
-PATCHES=( "${FILESDIR}"/${PN}-3.2-no-gui.patch ) |
50 |
+PATCHES=( |
51 |
+ "${FILESDIR}"/${PN}-3.2-no-gui.patch |
52 |
+ "${FILESDIR}"/${PN}-3.7-include-checksymbolexists.patch |
53 |
+) |
54 |
|
55 |
pkg_setup() { |
56 |
use python && python-single-r1_pkg_setup |