summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2016-02-09 01:24:00 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2016-02-09 01:24:00 +0000
commite22f94390373f7a3142a53c965f93a5d5bad1ade (patch)
tree8745095d04f4a59c2ae89228c7b059b286088c5b /sci-astronomy/wcstools/files/wcstools-3.9.2-use_abort.patch
parentsci-astronomy/wcslib: Version bump (diff)
downloadbicatali-e22f94390373f7a3142a53c965f93a5d5bad1ade.tar.gz
bicatali-e22f94390373f7a3142a53c965f93a5d5bad1ade.tar.bz2
bicatali-e22f94390373f7a3142a53c965f93a5d5bad1ade.zip
sci-astronomy/wcstools: Version bump
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();
+ }
+
+