pkgsrc/devel/cfitsio/patches/patch-ad
2015-04-14 08:14:01 +00:00

16 lines
613 B
Text

$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