parent
300302be80
commit
7701fb5c33
@ -1,18 +0,0 @@
|
|||||||
diff -urN cfitsio/fitsio2.h cfitsio_new/fitsio2.h
|
|
||||||
--- cfitsio/fitsio2.h 2010-01-26 18:40:25.000000000 +0100
|
|
||||||
+++ cfitsio_new/fitsio2.h 2010-06-30 17:24:59.000000000 +0200
|
|
||||||
@@ -85,6 +85,14 @@
|
|
||||||
#define MACHINE NATIVE
|
|
||||||
#define LONGSIZE 64
|
|
||||||
|
|
||||||
+#elif defined(__s390x__)
|
|
||||||
+#define BYTESWAPPED FALSE
|
|
||||||
+#define LONGSIZE 64
|
|
||||||
+
|
|
||||||
+#elif defined(__s390__)
|
|
||||||
+#define BYTESWAPPED FALSE
|
|
||||||
+#define LONGSIZE 32
|
|
||||||
+
|
|
||||||
#elif defined(__ia64__) || defined(__x86_64__)
|
|
||||||
/* Intel itanium 64-bit PC, or AMD opteron 64-bit PC */
|
|
||||||
#define BYTESWAPPED TRUE
|
|
@ -1,12 +1,12 @@
|
|||||||
diff -ur cfitsio/Makefile.in cfitsio.new/Makefile.in
|
diff -up cfitsio/Makefile.in.orig cfitsio/Makefile.in
|
||||||
--- cfitsio/Makefile.in 2011-10-29 16:54:43.077132582 +0200
|
--- cfitsio/Makefile.in.orig 2012-04-11 13:55:24.000000000 -0600
|
||||||
+++ cfitsio.new/Makefile.in 2011-10-29 16:55:38.648098260 +0200
|
+++ cfitsio/Makefile.in 2012-04-13 10:07:54.549874768 -0600
|
||||||
@@ -90,7 +90,7 @@
|
@@ -87,7 +87,7 @@ libcfitsio.a: ${OBJECTS}
|
||||||
shared: libcfitsio${SHLIB_SUFFIX}
|
shared: libcfitsio${SHLIB_SUFFIX}
|
||||||
|
|
||||||
libcfitsio${SHLIB_SUFFIX}: ${OBJECTS}
|
libcfitsio${SHLIB_SUFFIX}: ${OBJECTS}
|
||||||
- ${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS}
|
- ${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS}
|
||||||
+ ${SHLIB_LD} ${LDFLAGS} ${LIBS} -lm -o $@ ${OBJECTS}
|
+ ${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS} -lm
|
||||||
|
|
||||||
install: libcfitsio.a $(INSTALL_DIRS)
|
install: libcfitsio.a $(INSTALL_DIRS)
|
||||||
@if [ -f libcfitsio.a ]; then \
|
@if [ -f libcfitsio.a ]; then \
|
||||||
|
Loading…
Reference in new issue