Alien-CFITSIO
view release on metacpan or search on metacpan
patch/cfitsio-4.6.2.patch view on Meta::CPAN
*** cfitsio-4.6.2.orig/fitscore.c 2025-03-26 14:19:36.000000000 -0400
--- cfitsio-4.6.2/fitscore.c 2025-04-22 22:20:10.844556661 -0400
***************
*** 9737,9743 ****
}
sptr = (short *) fval;
! #if BYTESWAPPED && MACHINE != VAXVMS && MACHINE != ALPHAVMS
sptr++; /* point to MSBs */
#endif
iret = fnan(*sptr); /* if iret == 1, then the float value is a NaN */
--- 9737,9743 ----
}
sptr = (short *) fval;
! #if BYTESWAPPED && CFITSIO_MACHINE != VAXVMS && CFITSIO_MACHINE != ALPHAVMS
sptr++; /* point to MSBs */
#endif
iret = fnan(*sptr); /* if iret == 1, then the float value is a NaN */
***************
*** 9812,9818 ****
}
sptr = (short *) dval;
! #if BYTESWAPPED && MACHINE != VAXVMS && MACHINE != ALPHAVMS
sptr += 3; /* point to MSBs */
#endif
iret = dnan(*sptr); /* if iret == 1, then the double value is a NaN */
--- 9812,9818 ----
}
sptr = (short *) dval;
! #if BYTESWAPPED && CFITSIO_MACHINE != VAXVMS && CFITSIO_MACHINE != ALPHAVMS
sptr += 3; /* point to MSBs */
#endif
iret = dnan(*sptr); /* if iret == 1, then the double value is a NaN */
diff -rc cfitsio-4.6.2.orig/fitsio2.h cfitsio-4.6.2/fitsio2.h
*** cfitsio-4.6.2.orig/fitsio2.h 2025-03-26 14:19:36.000000000 -0400
--- cfitsio-4.6.2/fitsio2.h 2025-04-22 22:20:22.696603130 -0400
***************
*** 86,92 ****
#elif defined(__sparcv9) || (defined(__sparc__) && defined(__arch64__))
/* SUN Solaris7 in 64-bit mode */
#define BYTESWAPPED FALSE
! #define MACHINE NATIVE
#define LONGSIZE 64
( run in 0.908 second using v1.01-cache-2.11-cpan-4d50c553e7e )