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/montage/files/montage-4.1-fix_format_errors.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-astronomy/montage/files/montage-4.1-fix_format_errors.patch')
-rw-r--r-- | sci-astronomy/montage/files/montage-4.1-fix_format_errors.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sci-astronomy/montage/files/montage-4.1-fix_format_errors.patch b/sci-astronomy/montage/files/montage-4.1-fix_format_errors.patch new file mode 100644 index 000000000000..d29429ccfaad --- /dev/null +++ b/sci-astronomy/montage/files/montage-4.1-fix_format_errors.patch @@ -0,0 +1,23 @@ +Author: Ole Streicher <olebole@debian.org> +Description: Fix format security error for (s|f)printf +--- a/grid/Pegasus/hashtable.c ++++ b/grid/Pegasus/hashtable.c +@@ -4,8 +4,6 @@ + + #include <hashtable.h> + +-char *strdup(const char *s1); +- + int HT_debug = 0; + + /********************************************************/ +--- a/lib/src/coord/ccalc.c ++++ b/lib/src/coord/ccalc.c +@@ -25,7 +25,6 @@ + static int ConvertfromDD(char *fmt, char *clongprec, char *clatprec, + char *clon, char *clat, double *lon, double *lat); + static char *downcase(char *s); +-char *strdup(const char *s1); + int ParseUnits(char *cunit, int *chflag, CoordUnit *unit); + int ParsePrec(CoordUnit units, char *cprec, int longflag); + |