Hello community, here is the log from the commit of package cfitsio for openSUSE:Factory checked in at 2017-03-03 17:45:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cfitsio (Old) and /work/SRC/openSUSE:Factory/.cfitsio.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cfitsio" Fri Mar 3 17:45:05 2017 rev:14 rq:461138 version:3.410 Changes: -------- --- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes 2016-07-01 09:59:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cfitsio.new/cfitsio.changes 2017-03-03 17:45:06.268301292 +0100 @@ -1,0 +2,69 @@ +Tue Feb 28 20:56:46 UTC 2017 - [email protected] + +- Update to version 3.410: + * The change made in version 3.40 to include strings.h caused + problems on Windows (and other) platforms, so this change was + backed out. The reason for including it was to define the + strcasecmp and strcasencmp functions, so as an alternative, new + equivalent functions called fits_strcasecmp and + fits_strncasecmp have been added to CFITSIO.as a substitute. + All the previous calls to the str[n]casecmp functions have been + changed to now call fits_str[n]casecmp. In addition, the + previously defined ngp_strcasecmp function (in grparser.c) has + been removed and the calls to it have been changed to + fits_strcasecmp. + * The speed.c utility program was changed to correctly call + the gettimeofday function with a NULL second arguement. + From version 3.400: + * fixed a bug when writing long string keywords with the CONTINUE + convention which caused the CONTINUE'd strings to only be 16 + characters long, instead of using up all the available space in + the 80-character header record. + * fixed a missing 'defined' keyword in fitsio.h. + * replaced all calls to strtok (which is not threadsafe) with a + new ffstrtok function which internally calls the threadsafe + strtok_r function. One byproduct of this change is that + <strings.h> must also be included in several of the C source + code files. + * modified the ffphbn function in putkey.c to support TFORM + specifiers that use lowercase 'p' (instead of uppercase) when + referring to a variable-length array column. + * modified the lexical parser in eval.y and eval_y.c to support + bit array columns (with TFORMn = 'X') with greater than 256 + elements. Fix to bitcmp function: The internal 'stream' array + is now allocated dynamically rather than statically fixed at + size 256. This was failing when users attempted a row filtering + of a bitcol that was wider than 256X. In bitlgte, bitand, and + bitor functions, replaced static stream[256] array allocation + with dynamic allocation. + * modified the ffiter function in putcol.c to fix a problem which + could cause the iterator function to incorrectly deal with null + values. This only affected TLONG type columns in cases where + sizeof(long) = 8, as well as for TLONGLONG type columns. + * Fix made to uncompress2mem function in zcomprss.c for case + where output uncompressed file expands to over the 2^32 (4Gb) + limit. It now checks for this case at the start, and + implements a 4Gb paging system through the output buffer. The + problem was specifically caused by the d_stream.avail_out + member being of 4-byte type uInt, and thus unable to handle any + memory position values above 4Gb. + * fixed a bug in fpackutil.c when using the -i2f (integer to + float) option in fpack to compress an integer image that is + scaled with non-default values for BSCALE and BZERO. This + required an additional call to ffrhdu to reset the internal + structures that describe the input FITS file. + * modified fits_uncompress_table in imcompress.c to silently + ignore the ZTILELEN keyword value if it larger than the number + of rows in the table + * Tweak strcasecmp/strncasecmp ifdefs to exclude 64-bit MINGW + environment, as it does not lack those functions. (eval_l.c, + fitsio2.h) + * CMakeLists.txt: Set M_LIB to "" for MINGW build environment (in + addition to MSVC). + * Makefile.in: Add *.dSYM (non-XCode gcc leftovers on Macs) to + clean list. Install libs by name rather than using a wildcard. + * configure: Fix rpath token usage for XCode vs. non-XCode gcc on + Macs. +- Rebased cfitsio-zlib.patch to apply cleanly. + +------------------------------------------------------------------- Old: ---- cfitsio3390.tar.gz New: ---- cfitsio3410.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cfitsio.spec ++++++ --- /var/tmp/diff_new_pack.iWAIHy/_old 2017-03-03 17:45:07.932066168 +0100 +++ /var/tmp/diff_new_pack.iWAIHy/_new 2017-03-03 17:45:07.936065603 +0100 @@ -1,7 +1,7 @@ # # spec file for package cfitsio # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,11 +16,11 @@ # -%define tar_ver 3390 +%define tar_ver 3410 %define so_ver 5 Name: cfitsio -Version: 3.390 +Version: 3.410 Release: 0 Summary: Library for manipulating FITS data files License: ISC @@ -63,7 +63,7 @@ Group: Documentation/Other # libcfitsio-doc was last used in openSUSE 12.1 (version 3.280) Obsoletes: libcfitsio-doc <= 3.280 -# libcfitsio-devel was last used in openSUSE 13.1 (version 3.350) +# libcfitsio-devel-doc was last used in openSUSE 13.1 (version 3.350) Provides: libcfitsio-devel-doc = %{version} Obsoletes: libcfitsio-devel-doc <= 3.350 ++++++ cfitsio-zlib.patch ++++++ --- /var/tmp/diff_new_pack.iWAIHy/_old 2017-03-03 17:45:07.960062211 +0100 +++ /var/tmp/diff_new_pack.iWAIHy/_new 2017-03-03 17:45:07.960062211 +0100 @@ -1,7 +1,8 @@ -diff -Naur cfitsio.orig/Makefile.in cfitsio/Makefile.in ---- cfitsio.orig/Makefile.in 2016-04-01 22:06:28.000000000 +0300 -+++ cfitsio/Makefile.in 2016-06-27 00:40:36.249217879 +0300 -@@ -68,9 +68,7 @@ +Index: cfitsio/Makefile.in +=================================================================== +--- cfitsio.orig/Makefile.in ++++ cfitsio/Makefile.in +@@ -68,9 +68,7 @@ CORE_SOURCES = buffers.c cfileio.c chec pliocomp.c fits_hcompress.c fits_hdecompress.c \ simplerng.c @@ -12,7 +13,7 @@ SOURCES = ${CORE_SOURCES} ${ZLIB_SOURCES} @F77_WRAPPERS@ -@@ -103,7 +101,7 @@ +@@ -103,7 +101,7 @@ lib${PACKAGE}.a: ${OBJECTS} shared: lib${PACKAGE}${SHLIB_SUFFIX} lib${PACKAGE}${SHLIB_SUFFIX}: ${OBJECTS} @@ -21,7 +22,7 @@ @if [ "x${CFITSIO_SHLIB_SONAME}" != x ]; then \ ln -sf ${CFITSIO_SHLIB} ${CFITSIO_SHLIB_SONAME}; \ ln -sf ${CFITSIO_SHLIB_SONAME} $@; \ -@@ -137,7 +135,7 @@ +@@ -143,7 +141,7 @@ smem: smem.o lib${PACKAGE}.a ${OBJECTS} ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o -L. -l${PACKAGE} -lm testprog: testprog.o lib${PACKAGE}.a ${OBJECTS} @@ -30,13 +31,14 @@ fpack: fpack.o fpackutil.o lib${PACKAGE}.a ${OBJECTS} ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o fpackutil.o -L. -l${PACKAGE} -lm ${LIBS} -diff -Naur cfitsio.orig/zlib/zcompress.c cfitsio/zlib/zcompress.c ---- cfitsio.orig/zlib/zcompress.c 2013-10-30 22:10:22.000000000 +0200 -+++ cfitsio/zlib/zcompress.c 2016-06-27 00:40:59.397508293 +0300 -@@ -2,7 +2,7 @@ - #include <errno.h> +Index: cfitsio/zlib/zcompress.c +=================================================================== +--- cfitsio.orig/zlib/zcompress.c ++++ cfitsio/zlib/zcompress.c +@@ -3,7 +3,7 @@ #include <stdlib.h> #include <string.h> + #include <limits.h> -#include "zlib.h" +#include <zlib.h> ++++++ cfitsio3390.tar.gz -> cfitsio3410.tar.gz ++++++ ++++ 5048 lines of diff (skipped)
