Hello community,

here is the log from the commit of package cfitsio for openSUSE:Factory checked 
in at 2013-12-19 12:07:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-07-07 
22:17:10.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cfitsio.new/cfitsio.changes     2013-12-19 
12:07:41.000000000 +0100
@@ -1,0 +2,5 @@
+Sun Dec 15 23:41:27 UTC 2013 - [email protected]
+
+- ppc64le-support.patch: Add support for ppc64le.
+
+-------------------------------------------------------------------

New:
----
  ppc64le-support.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cfitsio.spec ++++++
--- /var/tmp/diff_new_pack.KZEzwY/_old  2013-12-19 12:07:42.000000000 +0100
+++ /var/tmp/diff_new_pack.KZEzwY/_new  2013-12-19 12:07:42.000000000 +0100
@@ -34,6 +34,7 @@
 Patch2:         aarch64-support.patch
 # PATCH-FIX-OPENSUSE no-return-in-nonvoid-function.patch 
[email protected] -- Fix "Program returns random data in a function" 
rpm post build check error
 Patch3:         no-return-in-nonvoid-function.patch
+Patch4:         ppc64le-support.patch
 BuildRequires:  gcc-fortran
 BuildRequires:  pkg-config
 BuildRequires:  zlib-devel
@@ -87,6 +88,7 @@
 %patch1
 %patch2 -p1
 %patch3
+%patch4 -p1
 
 # Remove bundled zlib
 rm -f adler32.c crc32.c crc32.h deflate.c deflate.h infback.c inffast.c \

++++++ ppc64le-support.patch ++++++
Index: cfitsio/fitsio2.h
===================================================================
--- cfitsio.orig/fitsio2.h
+++ cfitsio/fitsio2.h
@@ -107,8 +107,12 @@ extern int Fitsio_Pthread_Status;
 
 #elif defined(__powerpc64__) || defined(__64BIT__) /* IBM 64-bit AIX powerpc*/
                               /* could also test for __ppc64__ or __PPC64 */
+#ifdef __LITTLE_ENDIAN__
+#define BYTESWAPPED TRUE
+#else
 #define BYTESWAPPED FALSE
 #define MACHINE NATIVE
+#endif
 #define LONGSIZE 64   
 
 #elif defined(_MIPS_SZLONG)
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to