summaryrefslogtreecommitdiff
path: root/sci-astronomy/siril/files/siril-1.0-execinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-astronomy/siril/files/siril-1.0-execinfo.patch')
-rw-r--r--sci-astronomy/siril/files/siril-1.0-execinfo.patch22
1 files changed, 22 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
+