summaryrefslogtreecommitdiff
path: root/astro/cfitsio/files/patch-fitsio2.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--astro/cfitsio/files/patch-fitsio2.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/astro/cfitsio/files/patch-fitsio2.h b/astro/cfitsio/files/patch-fitsio2.h
deleted file mode 100644
index 7d04cb3729a5..000000000000
--- a/astro/cfitsio/files/patch-fitsio2.h
+++ /dev/null
@@ -1,28 +0,0 @@
-from astro/p5-Astro-FITS-CFITSIO build log:
-
-/usr/local/include/fitsio2.h:271:5: error: invalid token at start of a preprocessor expression
-#if MACHINE == CRAY
- ^
-/usr/include/machine/param.h:59:18: note: expanded from macro 'MACHINE'
-#define MACHINE "amd64"
- ^
-
---- fitsio2.h.orig 2023-07-21 14:37:17 UTC
-+++ fitsio2.h
-@@ -268,14 +268,14 @@ extern int Fitsio_Pthread_Status;
-
- #endif
-
--#if MACHINE == CRAY
-+#if 0
- /*
- Cray machines: the large negative integer corresponds
- to the 3 most sig digits set to 1. If these
- 3 bits are set in a floating point number (64 bits), then it represents
- a reserved value (i.e., a NaN)
- */
--#define fnan(L) ( (L) >= 0xE000000000000000 ? 1 : 0) )
-+#define fnan(L) ( (L) >= 0xE000000000000000 ? 1 : 0)
-
- #else
- /* these functions work for both big and little endian machines */