pkgsrc/devel/cfitsio/patches/patch-ad
2009-09-02 13:04:59 +00:00

14 lines
564 B
Text

$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