summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-astronomy/wcstools/files/wcstools-3.9.2-use_abort.patch')
-rw-r--r--sci-astronomy/wcstools/files/wcstools-3.9.2-use_abort.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sci-astronomy/wcstools/files/wcstools-3.9.2-use_abort.patch b/sci-astronomy/wcstools/files/wcstools-3.9.2-use_abort.patch
new file mode 100644
index 0000000..4ebc206
--- /dev/null
+++ b/sci-astronomy/wcstools/files/wcstools-3.9.2-use_abort.patch
@@ -0,0 +1,14 @@
+Author: Ole Streicher <debian@liska.ath.cx>
+Description: If a unrecoverable error occurred, abort() instead of exit()
+ to allow the user for tracing the problem.
+--- a/libwcs/poly.c
++++ b/libwcs/poly.c
+@@ -43,7 +43,7 @@
+ void qerror(char *msg1, char *msg2)
+ {
+ fprintf(stderr, "\n> %s%s\n\n",msg1,msg2);
+- exit(-1);
++ abort();
+ }
+
+