1 |
commit: ddb3e71ded114d3bb1092db19badd0b58cbc4ce8 |
2 |
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> |
3 |
AuthorDate: Mon Sep 26 21:41:06 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 1 03:15:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddb3e71d |
7 |
|
8 |
sci-astronomy/siril: Fix building on musl, missing execinfo.h |
9 |
|
10 |
Closes: https://bugs.gentoo.org/873016 |
11 |
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/27483 |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
sci-astronomy/siril/files/siril-1.0-execinfo.patch | 22 ++++++++++++++++++++++ |
16 |
sci-astronomy/siril/siril-1.0.5.ebuild | 1 + |
17 |
2 files changed, 23 insertions(+) |
18 |
|
19 |
diff --git a/sci-astronomy/siril/files/siril-1.0-execinfo.patch b/sci-astronomy/siril/files/siril-1.0-execinfo.patch |
20 |
new file mode 100644 |
21 |
index 000000000000..c9c7cd81c19f |
22 |
--- /dev/null |
23 |
+++ b/sci-astronomy/siril/files/siril-1.0-execinfo.patch |
24 |
@@ -0,0 +1,22 @@ |
25 |
+commit c009c4c1800086e7f4c4e80939e9ddc8964c8e12 |
26 |
+Author: Mario Haustein <mario.haustein@×××××××××××××××.de> |
27 |
+Date: Thu Aug 4 00:27:08 2022 +0200 |
28 |
+ |
29 |
+ Include execinfo.h only if available |
30 |
+ |
31 |
+Bug: https://bugs.gentoo.org/873016 |
32 |
+Upstream: https://gitlab.com/free-astro/siril/-/merge_requests/284 |
33 |
+ |
34 |
+diff --git a/src/core/signals.c b/src/core/signals.c |
35 |
+index 74100b3a..0eefd460 100644 |
36 |
+--- a/src/core/signals.c |
37 |
++++ b/src/core/signals.c |
38 |
+@@ -25,7 +25,7 @@ |
39 |
+ #ifdef _WIN32 |
40 |
+ #include <windows.h> |
41 |
+ #include <dbghelp.h> |
42 |
+-#else |
43 |
++#elif HAVE_EXECINFO_H |
44 |
+ #include <execinfo.h> |
45 |
+ #endif |
46 |
+ |
47 |
|
48 |
diff --git a/sci-astronomy/siril/siril-1.0.5.ebuild b/sci-astronomy/siril/siril-1.0.5.ebuild |
49 |
index d354aede9fea..816f638fd2f1 100644 |
50 |
--- a/sci-astronomy/siril/siril-1.0.5.ebuild |
51 |
+++ b/sci-astronomy/siril/siril-1.0.5.ebuild |
52 |
@@ -49,6 +49,7 @@ RDEPEND=" |
53 |
PATCHES=( |
54 |
"${FILESDIR}/${PN}-docfiles.patch" |
55 |
"${FILESDIR}/${PN}-$(ver_cut 1-2)-dependencies.patch" |
56 |
+ "${FILESDIR}/${PN}-$(ver_cut 1-2)-execinfo.patch" |
57 |
) |
58 |
|
59 |
DOCS=( README.md NEWS ChangeLog AUTHORS ) |