[SCM] Create, display and manipulate the world coordinate system branch, debian, updated. c690fd9ba1ae55a986315ad9a89c6a8589f8374e

Ole Streicher github at liska.ath.cx
Wed Jan 18 12:11:04 UTC 2012


The following commit has been merged in the debian branch:
commit 4cac993032a36dacc6a6eb121df22c5a594412d2
Author: Ole Streicher <github at liska.ath.cx>
Date:   Wed Jan 18 13:07:43 2012 +0100

    Override pedantic lintian warnings: "ang" spelling, exit() in shlib
    (which is part of wcstools API). Replace fatal exit() call with abort().

diff --git a/debian/libwcstools0.lintian-overrides b/debian/libwcstools0.lintian-overrides
new file mode 100644
index 0000000..64fd447
--- /dev/null
+++ b/debian/libwcstools0.lintian-overrides
@@ -0,0 +1,2 @@
+# calling exit() is part of the wcstools API.
+shlib-calls-exit usr/lib/libwcstools.so*
diff --git a/debian/patches/series b/debian/patches/series
index 4fa05a5..f0d3659 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 rename_libwcs.patch
 fix_spelling.patch
 fix_manpages.patch
+use_abort.patch
diff --git a/debian/patches/use_abort.patch b/debian/patches/use_abort.patch
new file mode 100644
index 0000000..d1a4b73
--- /dev/null
+++ b/debian/patches/use_abort.patch
@@ -0,0 +1,14 @@
+Author: Ole Streicher <debian at liska.ath.cx>
+Description: If a unrecoverable error occurred, abort() instead of exit()
+ to allow the user for tracing the problem.
+--- wcstools-3.8.4.orig/libwcs/poly.c
++++ wcstools-3.8.4/libwcs/poly.c
+@@ -43,7 +43,7 @@ I hope it will never be used!
+ void	qerror(char *msg1, char *msg2)
+   {
+   fprintf(stderr, "\n> %s%s\n\n",msg1,msg2);
+-  exit(-1);
++  abort();
+   }
+ 
+ 
diff --git a/debian/wcstools.lintian-overrides b/debian/wcstools.lintian-overrides
new file mode 100644
index 0000000..0015e52
--- /dev/null
+++ b/debian/wcstools.lintian-overrides
@@ -0,0 +1,3 @@
+# Ang is used as an abbreviation for "angle" here.
+spelling-error-in-binary usr/bin/* ang and
+spelling-error-in-manpage usr/share/man/man1/* ang and

-- 
Create, display and manipulate the world coordinate system



More information about the debian-science-commits mailing list