summaryrefslogtreecommitdiff
path: root/graphics/GMT/patches/patch-ah
blob: 93958f0737b8835d6e78e3e5c58e28c7f2b3e458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ah,v 1.2 2001/04/19 20:51:32 jtb Exp $

--- src/grdreformat.c.orig	Thu Apr 19 18:02:08 2001
+++ src/grdreformat.c
@@ -86,7 +86,7 @@
 		GMT_explain_option ('V');
 		
 		fprintf (stderr, "	The following formats are supported\n\n");
-		sprintf (line, "%s%cshare%cgmtformats.d\0", GMTHOME, DIR_DELIM, DIR_DELIM);
+		sprintf (line, "%s%cshare%cgmt%cgmtformats.d\0", GMTHOME, DIR_DELIM, DIR_DELIM, DIR_DELIM);
 		if ((fp = fopen (line, "r")) == NULL) {
 			fprintf (stderr, "%s: GMT ERROR: Cannot read file %s\n", GMT_program, line);
 			exit (EXIT_FAILURE);