summaryrefslogtreecommitdiff
path: root/devel/cfitsio
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
parent227c6bc91624a45414c56d29be0c35ed4108d698 (diff)
downloadpkgsrc-5387c65bd9ddaf4a6f16cdecc50af2a5062c90fb.tar.gz
Fix compilation on alpha.
Diffstat (limited to 'devel/cfitsio')
-rw-r--r--devel/cfitsio/files/patch-sum3
-rw-r--r--devel/cfitsio/patches/patch-ab17
2 files changed, 19 insertions, 1 deletions
diff --git a/devel/cfitsio/files/patch-sum b/devel/cfitsio/files/patch-sum
index ea6c9381d3b..ae8f88d376a 100644
--- a/devel/cfitsio/files/patch-sum
+++ b/devel/cfitsio/files/patch-sum
@@ -1,3 +1,4 @@
-$NetBSD: patch-sum,v 1.1.1.1 2000/07/31 16:47:04 tron Exp $
+$NetBSD: patch-sum,v 1.2 2000/12/27 02:01:46 wiz Exp $
MD5 (patch-aa) = 22342e15003c9a260c3f45fe44bcf2b1
+MD5 (patch-ab) = 1b62126b675e031add0156d9b5a543e4
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