diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-astronomy/wcstools/files/wcstools-3.9.4-fix-tests.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-astronomy/wcstools/files/wcstools-3.9.4-fix-tests.patch')
-rw-r--r-- | sci-astronomy/wcstools/files/wcstools-3.9.4-fix-tests.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sci-astronomy/wcstools/files/wcstools-3.9.4-fix-tests.patch b/sci-astronomy/wcstools/files/wcstools-3.9.4-fix-tests.patch new file mode 100644 index 000000000000..d8679578f408 --- /dev/null +++ b/sci-astronomy/wcstools/files/wcstools-3.9.4-fix-tests.patch @@ -0,0 +1,34 @@ +From: Ole Streicher <debian@liska.ath.cx> +Date: Fri, 5 Aug 2016 16:17:42 +0200 +Subject: Fix several bugs that appear in during the mayhem tests. + +--- + cphead.c | 2 +- + getpix.c | 1 + + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/cphead.c b/cphead.c +index 0c025dd..2b34f12 100644 +--- a/cphead.c ++++ b/cphead.c +@@ -148,7 +148,7 @@ char **av; + free (kwd); + kwd = kwdnew; + } +- for (ikwd = nkwd; i < nkwd+nkwd1+32; i++) { ++ for (ikwd = nkwd; ikwd < nkwd+nkwd1+32; ikwd++) { + kwd[ikwd] = (char *) calloc (32, 1); + } + strcpy (kwd[nkwd], "RA"); +diff --git a/getpix.c b/getpix.c +index ccb38f0..64cc571 100644 +--- a/getpix.c ++++ b/getpix.c +@@ -83,6 +83,7 @@ char **av; + char *crange; /* Column range string */ + char *rstr; + char *dstr = NULL; ++ char rastr[32], decstr[32]; + char *cstr; + int systemp; + int i; |