summaryrefslogtreecommitdiff
path: root/devel/hdf/patches/patch-am
blob: 66e517db24e97a172e8889fda532a602521ae491 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-am,v 1.1 2001/03/22 23:19:17 jtb Exp $

--- mfhdf/ncgen/generate.c.orig	Tue Dec  8 21:38:02 1998
+++ mfhdf/ncgen/generate.c
@@ -101,7 +101,7 @@
     int ntypes = (sizeof ctypes) / (sizeof ctypes[0]);
 
     /* wrap in main program */
-    cline("#include \"netcdf.h\"");
+    cline("#include \"netcdf_hdf.h\"");
     cline("");
     cline("int");
     sprintf(stmnt, "main() {\t\t\t/* create %s */", filename);
@@ -413,7 +413,7 @@
 #ifdef MSDOS
     printf("$include: \"netcdf.inc\"\n");
 #else
-    fline("include 'netcdf.inc'");
+    fline("include 'netcdf_hdf.inc'");
 #endif
 
     /* create necessary declarations */