diff options
author | Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> | 2022-09-26 23:41:06 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-01 04:15:41 +0100 |
commit | ddb3e71ded114d3bb1092db19badd0b58cbc4ce8 (patch) | |
tree | e44fd683fa95807fdbe2c9348f4669ee8ae79f31 /sci-astronomy | |
parent | dev-util/unicorn: fix lto type mismatch (diff) | |
download | gentoo-ddb3e71ded114d3bb1092db19badd0b58cbc4ce8.tar.gz gentoo-ddb3e71ded114d3bb1092db19badd0b58cbc4ce8.tar.bz2 gentoo-ddb3e71ded114d3bb1092db19badd0b58cbc4ce8.zip |
sci-astronomy/siril: Fix building on musl, missing execinfo.h
Closes: https://bugs.gentoo.org/873016
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/27483
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-astronomy')
-rw-r--r-- | sci-astronomy/siril/files/siril-1.0-execinfo.patch | 22 | ||||
-rw-r--r-- | sci-astronomy/siril/siril-1.0.5.ebuild | 1 |
2 files changed, 23 insertions, 0 deletions
diff --git a/sci-astronomy/siril/files/siril-1.0-execinfo.patch b/sci-astronomy/siril/files/siril-1.0-execinfo.patch new file mode 100644 index 000000000000..c9c7cd81c19f --- /dev/null +++ b/sci-astronomy/siril/files/siril-1.0-execinfo.patch @@ -0,0 +1,22 @@ +commit c009c4c1800086e7f4c4e80939e9ddc8964c8e12 +Author: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> +Date: Thu Aug 4 00:27:08 2022 +0200 + + Include execinfo.h only if available + +Bug: https://bugs.gentoo.org/873016 +Upstream: https://gitlab.com/free-astro/siril/-/merge_requests/284 + +diff --git a/src/core/signals.c b/src/core/signals.c +index 74100b3a..0eefd460 100644 +--- a/src/core/signals.c ++++ b/src/core/signals.c +@@ -25,7 +25,7 @@ + #ifdef _WIN32 + #include <windows.h> + #include <dbghelp.h> +-#else ++#elif HAVE_EXECINFO_H + #include <execinfo.h> + #endif + diff --git a/sci-astronomy/siril/siril-1.0.5.ebuild b/sci-astronomy/siril/siril-1.0.5.ebuild index d354aede9fea..816f638fd2f1 100644 --- a/sci-astronomy/siril/siril-1.0.5.ebuild +++ b/sci-astronomy/siril/siril-1.0.5.ebuild @@ -49,6 +49,7 @@ RDEPEND=" PATCHES=( "${FILESDIR}/${PN}-docfiles.patch" "${FILESDIR}/${PN}-$(ver_cut 1-2)-dependencies.patch" + "${FILESDIR}/${PN}-$(ver_cut 1-2)-execinfo.patch" ) DOCS=( README.md NEWS ChangeLog AUTHORS ) |