Hello community, here is the log from the commit of package cfitsio for openSUSE:Factory checked in at 2013-06-17 10:02:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cfitsio (Old) and /work/SRC/openSUSE:Factory/.cfitsio.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cfitsio" Changes: -------- --- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes 2013-04-06 08:51:56.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cfitsio.new/cfitsio.changes 2013-06-17 10:02:44.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jun 16 08:33:04 UTC 2013 - [email protected] + +- aarch64-support.patch: Add support for aarch64 + +------------------------------------------------------------------- New: ---- aarch64-support.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cfitsio.spec ++++++ --- /var/tmp/diff_new_pack.skbJqW/_old 2013-06-17 10:02:44.000000000 +0200 +++ /var/tmp/diff_new_pack.skbJqW/_new 2013-06-17 10:02:44.000000000 +0200 @@ -30,6 +30,8 @@ Patch1: cfitsio-zlib.patch # PATCH-FIX-OPENSUSE implicit-pointer-decl.patch [email protected] -- Fix "implicit-pointer-decl" rpm post build check warning Patch2: implicit-pointer-decl.patch +# PATCH-FIX-OPENSUSE aarch64-support.patch [email protected] -- Add support for aarch64 +Patch3: aarch64-support.patch BuildRequires: gcc-fortran BuildRequires: pkg-config BuildRequires: zlib-devel @@ -82,6 +84,7 @@ %patch0 -p1 %patch1 -p1 %patch2 +%patch3 -p1 # Remove bundled zlib rm -f adler32.c crc32.c crc32.h deflate.c deflate.h infback.c inffast.c \ ++++++ aarch64-support.patch ++++++ Index: cfitsio/fitsio2.h =================================================================== --- cfitsio.orig/fitsio2.h +++ cfitsio/fitsio2.h @@ -195,6 +195,18 @@ extern int Fitsio_Pthread_Status; #define BYTESWAPPED FALSE #endif +#elif defined(__aarch64__) + +/* AArch64 CPU can be used in both little and big endian modes */ + +#if defined(__AARCH64EB__) +#define BYTESWAPPED FALSE +#define MACHINE NATIVE +#else +#define BYTESWAPPED TRUE +#endif +#define LONGSIZE 64 + #else /* assume all other machine uses the same IEEE formats as used in FITS files */ -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
