summaryrefslogtreecommitdiff
path: root/devel/cfitsio/patches/patch-ab
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-12-27 02:01:46 +0000
committerwiz <wiz@pkgsrc.org>2000-12-27 02:01:46 +0000
commit5387c65bd9ddaf4a6f16cdecc50af2a5062c90fb (patch)
treed062e03eca34d1e262e52dbdbe8e9484de881d3a /devel/cfitsio/patches/patch-ab
parent227c6bc91624a45414c56d29be0c35ed4108d698 (diff)
downloadpkgsrc-5387c65bd9ddaf4a6f16cdecc50af2a5062c90fb.tar.gz
Fix compilation on alpha.
Diffstat (limited to 'devel/cfitsio/patches/patch-ab')
-rw-r--r--devel/cfitsio/patches/patch-ab17
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/cfitsio/patches/patch-ab b/devel/cfitsio/patches/patch-ab
new file mode 100644
index 00000000000..5d8dd30d8ea
--- /dev/null
+++ b/devel/cfitsio/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1 2000/12/27 02:01:47 wiz Exp $
+
+--- fitsio2.h.orig Tue Jan 11 17:12:13 2000
++++ fitsio2.h
+@@ -68,6 +68,12 @@
+ #define BYTESWAPPED TRUE
+ #define LONGSIZE 64
+
++#elif defined(__alpha) && defined(__NetBSD__)
++
++#define MACHINE ALPHA_OSF
++#define BYTESWAPPED TRUE
++#define LONGSIZE 64
++
+ #elif defined(ultrix) && defined(unix)
+
+ #define MACHINE ULTRIX