summaryrefslogtreecommitdiff
path: root/devel/cfitsio/patches/patch-ad
blob: 376f46aa076cb7531e6a6ece3878ac16884bdb89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ad,v 1.3 2015/04/14 08:14:01 hiramatsu Exp $

Add definition for NetBSD and DragonFlyBSD.

--- 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