summaryrefslogtreecommitdiff
path: root/devel/cfitsio/patches/patch-ad
blob: 7fe8149295c32c039d6a73098d27a3e06a147ed7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ad,v 1.2 2009/09/02 13:04:59 hasso Exp $

--- cfortran.h.orig	2008-05-20 05:28:41.000000000 +1200
+++ cfortran.h
@@ -177,6 +177,9 @@ only C calling FORTRAN subroutines will 
 #if defined(__APPLE__)                         /* 11/2002 (CFITSIO) */
 #define f2cFortran
 #endif
+#if defined(__NetBSD__) || defined(__DragonFly__) /* 11/2002 (CFITSIO) */
+#define f2cFortran
+#endif
 #if defined(__hpux)             /* 921107: Use __hpux instead of __hp9000s300 */
 #define       hpuxFortran       /*         Should also allow hp9000s7/800 use.*/
 #endif